tame any animal with custom food

Started by Setlegend on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
tame any animal with custom food

Im making a mod with a custom food source that tames any animal(all the animals) 

how can I possibly do that ???

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For custom ones just add…
Tue, 12/14/2021 - 10:20

For custom ones just add taming item inside AI

For vanilla one must use procedures

Global trigger when player…
Tue, 12/14/2021 - 12:41

Global trigger when player right click on entity

If is that entity tamable and item in main hand is your custom food

Tame entity and remove 1 food from inventory

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if the entity isnt tameable …
Tue, 12/14/2021 - 12:53

if the entity isnt tameable ??? i want it to tame both tameable and non tameable

 

Thats not possible without…
Tue, 12/14/2021 - 21:24

Thats not possible without coding because you need to change the mob behaviour. The only things that you can do is an instant replace with an entity with the same model and texture