tame any animal with custom food

Started by Setlegend on

Topic category: Help with modding (Java Edition)

Last seen on 06:28, 12. Jan 2022
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 ???

Last seen on 15:20, 19. Apr 2024
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

Last seen on 14:03, 18. Apr 2024
Joined Sep 2020
Points:

User statistics:

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

Last seen on 06:28, 12. Jan 2022
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

 

Last seen on 14:03, 18. Apr 2024
Joined Sep 2020
Points:

User statistics:

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