How to Create an Aggressive But Tamable Creature

Started by Albarde202 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Create an Aggressive But Tamable Creature

Hello, I need your help. I'm developing a mod with dinosaurs that we can tame and then ride to use them but I can't make a good AI and I don't know how the conditions work.

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
note that the dinosaur I'm…
Wed, 01/19/2022 - 17:34

note that the dinosaur I'm blocking on is aggressive

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you want the taming…
Wed, 01/19/2022 - 21:25

How do you want the taming mechanic to work? Do you want the dinosaur to be aggressive, but when fed a specific item it would tame it? This would make it difficult to tame unless you trap the dinosaur and then tame it from above/a safe spot... Which would be fine.

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 Basically, I made a…
Thu, 01/20/2022 - 10:01

 

Basically, I made a camouflage outfit that makes you invisable.

But the problem is that the dinosaur spots me from too far away with this outfit, so I would like to make it attack all players in its field of vision except those wearing the camouflage suit

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For the camo suit thing to…
Sun, 04/07/2024 - 05:34

For the camo suit thing to work you need to go to the AI Task "Attack mobs" and create a procedure for it's condition (Start task and continue task). In that condiiton, you simply check if the enemy (target entity) has a full suit of camo armor, if it does then return true or false depending on the logic you want. If you name for example the condition "checkForCamo" then if the camo is found you should return logic true, else you return false. This ensures that the dino only attacks enemies that do not have the full camo suit