What is this mod's capability to modify mob vanilla behavior?

Started by MrChoke on

Topic category: Advanced modding

Last seen on 03:35, 17. Sep 2018
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is this mod's capability to modify mob vanilla behavior?

Hi.  So I have not used MCreator yet.  I am considering it but am going to want the ability to modify existing mob behavior (spawning rules, AI, etc...) more than creating new content.  Is this mod tool good for that?

I just recently started learning Forge.  And quickly I found out that for example, I cannot modify the despawn rules (they have a hook for it but it doesn't work).  With Forge you are limited to where and how they place their hooks.  Does MCreator allow you dive deep into seeing and even altering the original minecraft code?

Thanks

 

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator works just as any…
Sun, 09/16/2018 - 00:44

MCreator works just as any other Forge workspace. Direct edits are generally not really recommended in the modding community unless you really have to for some unknown reason, as they make the code incompatible with almost anything else, there is limited support (as only a small part of the community does it) for them and almost everything you need you can achieve using already mentioned hooks, reflections or bytecode manipulation.

That said, what exactly do you want to change regarding vanilla entities?

If you still plan to edit stuff directly in Minecraft sources, look on some tutorials how to set up MCP workspace.

Last seen on 03:35, 17. Sep 2018
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, thanks.  I agree modding…
Sun, 09/16/2018 - 00:49

Ok, thanks.  I agree modding the source directly is not a great idea.  I am frustrated by limitations in the hook-approach that forge has, especially how it is not allowing me to override the default despawn rules.  So MCreator uses a hook approach too then?  Does it use Forge under-the-covers?

 

Regarding MCP, I do see a 1.12 version but I have no idea if/when a 1.13 one is available.  And I read its not being supported any more.  Maybe I am wrong....