How to edit and create behaivours for already exsisting mobs

Started by ILovcatsSomuch on Fri, 05/11/2018 - 14:50

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to edit and create behaivours for already exsisting mobs
Fri, 05/11/2018 - 14:50

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 22:00, 27. Sep 2020
Joined Apr 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
User points:

User statistics:

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

Ok thanks

 

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 22:00, 27. Sep 2020
Joined Apr 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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).