How to edit and create behaivours for already exsisting mobs

Started by ILovcatsSomuch on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 years ago
Joined May 2018
Points:
694

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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.

Active 5 months ago
Joined Apr 2014
Points:
1223

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 656
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 

Active 6 years ago
Joined May 2018
Points:
694

User statistics:

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

Ok thanks

 

Active 6 years ago
Joined May 2018
Points:
694

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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

Active 5 months ago
Joined Apr 2014
Points:
1223

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 656
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 

Active 1 year ago
Joined Aug 2013
Points:
1162

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
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).