How to edit and create behaivours for already exsisting mobs

Started by ILovcatsSomuch on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to edit and create behaivours for already exsisting mobs

Hello all, i was wondering how i could edit and add behaivours to things like cats and dog and other pets if that is even possible.

Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nothing can do Klemen…
Fri, 05/11/2018 - 16:10

Nothing can do Klemen clearly said that MCreator will not gona modify any original minecraft files 

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also is it possible to make…
Fri, 05/11/2018 - 18:20

also is it possible to make food for cat's to not just dogs

Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can search code for…
Fri, 05/11/2018 - 19:26

You can search code for ocelot and check if there is code for providing specific food 

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Actually, you can change the…
Fri, 05/11/2018 - 22:55

Actually, you can change the behavior of pretty much any part of vanilla games using overriding methods, Forge events and/or Java reflections, depending on what are you trying to accomplish, written in an order that you should try them in. (For example, the cat food should be relatively easy to do by overriding methods - if the food is your item, or if not, then there are events you can use).