Jump to content

[1.5.1]Gulliver (Resizing Mod) getting Forged


UncleMion

Recommended Posts

Hello folks :)

 

I've got a mod called Gulliver that allows you to change the size of the player and other entities, in both singleplayer and multiplayer: http://www.minecraftforum.net/topic/1112856-125smp-gulliver-the-resizing-mod-changing-your-perspective-of-minecraft

 

Currently Gulliver uses ModLoader and supports ModLoaderMP.  I would like to add Forge compatibility so my users can play with their Forge-based mods, not to mention that I've been wanting to see how well it works with RedPower sub blocks (drop ceilings & ductwork tunnels! :D)

 

Important caveat: Gulliver changes scads of base classes.  I plan to reduce the number of base class changes eventually, but I doubt I can get away with not modifying any base classes, considering how much fundamental Minecraft code I've had to adjust to get this mod to work well.

 

So, got any advice for a Forge noob trying to add compatibility for a ridiculously complex but highly amusing mod? ;)

 

Oh by the way, sp614x suggested that I ask you guys to add hooks for render view positioning and perspective changes.  I'm still working out the rendering details, but would you be open to making hooks of that sort?

 

Cheers,

UncleMion

Link to comment
Share on other sites

Ah, so that's what that mod is called. I've been wanting to try it out for some time, but never actually knew the name of it. I hope you manage to get it forge compatible. Anyways, I'm gonna go get tiny. :P

Check out my

Texture Packs Thread here on the Forge Forum. :)

Currently in the process of adding some mod support for JohnSmith Texture Pack.

width=105 height=12https://www.sugarsync.com/piv/D8135159_67366891_21351[/img]

 

width=209 height=19https://www.sugarsync.com/piv/D8135159_67366891_772852[/img]

Link to comment
Share on other sites

Try to use as many Forge hooks as you can.

Then try to use Java Reflection to do what is left.

For the stragglers, try to make a new hook and try to make it as generic as possible, and submit a pull request for it to be put in to Forge proper.  :)

Thanks for the feedback :)

 

Hm, I'd like to have Gulliver be Forge compatible but not required.  I suspect that, since some of the Forged base classes I conflict with happen to implement Forge-specific interface classes, I'd be best off making 2 releases: one fully Forge compatible, one not (but close if possible).

 

So... the Forge one would need to incorporate Forge code into the base classes I modify, and the less-Forged would use reflection on existing hooks wherever it can.  Does that sound about right?

 

I'd actually try to replace code with Forge hooks if possible, but it'd be trickier to maintain 2 very divergent forks.  Probably worth it if the hooks are useful :) I'll see what I can figure out.

Link to comment
Share on other sites

What should be done is no base edits at all, Forge is trying to massively get away from mods requiring base edits as they make some things near impossible (look at the mystcraft conflicts, Forge updates rapidly while remaining backwards compatible, but mystcraft edits a lot of base classes and it cannot keep up, thus it starts breaking other mods that require the new features).  It is better to use hooks when possible, then use reflection, else make a new hook and submit it for inclusion in to Forge.  That is what Forge is, a set of useful hooks for mods to not require base edits, and anyone can submit new hooks, and as long as they are not already there, cannot be done via reflection, and cannot easily be implemented in a better way, then expect it to be added straight in, else you will get feedback.  :)

Link to comment
Share on other sites

Hmm, about how often does Forge add new features?  In the "Recommended" releases at least.

 

I can't really call my mod stable until I've finished adding the main features I've got planned and done a lot of code cleanup.  I don't expect to be submitting any forge hooks until after a good thorough refactoring and consideration of what features would be useful to other mods.

 

In the meantime it's more a matter of my mod supporting Forge and not the other way around ;) It shouldn't be too much trouble to update to new versions once I've gotten the current Forge features taken care of.

Link to comment
Share on other sites

Just poke Lex here or on the IRC and he can generally give you feedback on a submitted hook quite quickly.  Recommended releases is a release that has been out for a while that has no known reported bugs, recommended usually comes out every few weeks at the slowest to a few times a week at the fastest pace, always backwards compatible though so just pick a version and work with it, or update as you need for new features.

Link to comment
Share on other sites

  • 1 month later...
  • 5 weeks later...
  • 6 months later...

Restarting the thread now that I've made a Gulliver Forged release as an April Fool's not-prank ;)

 

http://www.minecraftforum.net/topic/1112856-151mlforge-gulliver-the-resizing-mod-v0132-beta-april-1-changing-your-perspective-of-minecraft-over-90000-downloads/

 

It's only partway converted over to Forge.  There's a lot more I want to do with using Forge hooks for Gulliver where possible, but I'm afraid it's still going to be a very base-class-heavy mod.

 

My goal is to have reasonable "default" behavior for resized mobs, as well as scaled movements, block-breaking ability, etc. so that other mods are reasonably playable even before doing specific compatibility changes.

 

Anyway, y'all are welcome to try the preliminary experimental Gulliver Forged thing and let me know what you think :) I'll ask more specific questions about code structure as I go along in the integration process.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Etumax Royal Honey Price In Pakistan - Get Free Delivery Shop Today Online With Online Shopping in Pakistan Etumax Royal Honey Available At Our Store Online Shopping in Pakistan, 
    • I want to make a tree decorator that will generate a beehive under branches of my tree. I have no idea how to check for branches and make beehives generate because TreeDecorator.Context.logs() is just a block pos and i dont understand how it works. i hope ill get an answer here.
    • Imagine this: you've painstakingly accumulated $97,000 worth of Bitcoin, only to see it vanish into the digital abyss at the hands of cunning scammers. It's a devastating blow, leaving you feeling helpless and betrayed. But fear not, for Lee Ultimate Hacker is here to turn the tide in your favor. After conducting extensive research on cryptocurrency recovery options, I stumbled upon Lee Ultimate Hacker, and it proved to be the most suitable choice for the daunting task at hand. Despite my initial skepticism, they shattered my doubts by successfully retrieving $92,000 of the lost Bitcoin—a feat I once deemed impossible. From the moment I reached out to Lee Ultimate Hacker and provided them with all the pertinent information about the fraudulent transaction, they sprang into action with unwavering determination. True to their word, they delivered on their promise to recover the lost Bitcoin within an impressive timeframe of 24 to 72 hours. Their professionalism, expertise, and commitment to their clients were truly commendable, transforming what seemed like an insurmountable ordeal into a resounding triumph. In my eyes, the investment of both time and money was more than justified by the remarkable outcome achieved by Lee Ultimate Hacker. So, if you've fallen victim to cryptocurrency scams and are grappling with the anguish of lost funds, don't despair. Reach out to Lee Ultimate Hacker and let them work their magic. Their track record of success speaks for itself, and with their assistance, you can reclaim what's rightfully yours and emerge stronger than ever before. Don't let the darkness of cybercrime overshadow your financial future. Take a stand against fraudsters with the help of Lee Ultimate Hacker, and witness the transformation from despair to triumph. Your journey to recovery starts here. LEEULTIMATEHACKER@ AOL. COM or Support @ leeultimatehacker . com. telegram:LEEULTIMATE or wh@tsapp +1  (715) 314  -  9248 https://leeultimatehacker.com Thank you.
    • There's a scheme I got into where they promised to trade Bitcoin for me and take a cut as a commission. Seemed like a good idea at the time. But then, things went south real fast. They ended up transferring   $190,000 worth of my Bitcoin. I was devastated and felt completely helpless. That's when I stumbled upon the Wizard Web Recovery Tool. It was like a beacon of hope amid chaos. With this tool, I could finally start digging into what went wrong and hopefully get my Bitcoin back. Using Wizard Web was surprisingly easy. I just had to plug in some details about my Bitcoin account and let it do its thing. It started scanning the internet, looking for any clues about what happened to my Bitcoin. It felt like having a detective on my side, searching for answers. And guess what? Wizard Web found some leads. It uncovered evidence of the scheme's shady dealings and helped me track down the people responsible for losing my Bitcoin. Armed with this information, I took the case to court. After a long and hard-fought legal battle, the court ruled in my favor. The perpetrators were held accountable for their actions and faced criminal charges for their involvement in the scheme. It was a victory not just for me, but for anyone who's been taken advantage of by these kinds of scams. Thanks to Wizard Web Recovery, I was able to get justice and reclaim what was rightfully mine. It showed me that even in the face of adversity, there's always a way to fight back. And with the right tools and determination, anything is possible.   The following is the contact information for Wizard Web Recovery.   Email: wizard web recovery((@))programmer . net
    • Hello, good morning. I know some programming and I'm interested in mod creation. That's why I've decided to follow a tutorial guide on YouTube by TurtyWurty. https://www.youtube.com/watch?v=DhoX9cmAZqA&t=160s&ab_channel=TurtyWurty I've followed the tutorial perfectly. The problem is that when checking the food, the texture doesn't load for me. However, everything seems fine no matter how much I check. I'm sure it's something trivial, the problem is that I can't find it. Could you help me solve it, please? I leave a zip of my file so you can edit it freely. forge-1.20-Civicraft.rar
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.