How to edit and create behaivours for already exsisting mobs

Started by ILovcatsSomuch on

Topic category: Help with modding (Java Edition)

Last seen on 19:55, 7. Jun 2018
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.

Last seen on 03:03, 6. Feb 2024
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 

Last seen on 19:55, 7. Jun 2018
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks  
Fri, 05/11/2018 - 18:19

Ok thanks

 

Last seen on 19:55, 7. Jun 2018
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

Last seen on 03:03, 6. Feb 2024
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 

Last seen on 17:17, 10. Jan 2024
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).