Skip to main content

Ocelot becoming angry if hit

Comments

5 comments

  • Kira Mangan

    I think that’s normal that it attacks you if you hit it. Maybe you should tame it first.

    1
  • Ugis Kagainis

    Thank you, Kira! No, it is for the game's sake - I am building a new game with new mobs and ocelot is the template mob for a predator whose population needs to be regulated to restore the ecological balance in nature. I will look, how I can tame it with the command, however, I need it to be a predator first who attacks the rabbits.

    0
  • Ugis Kagainis

    I just now checked if I had the right animal mob in the Tynker and it is the ocelot, that has been programmed to act like a wolf(!!!). Any other suggestions?

    0
  • Aleece Landis
    Expert (Gold)

    To change the behavior, you will likely need to learn about creating a behavior pack to modify your mob's behaviors.  Look up bedrock development.  This is a little more involved than just spawning a creature and running a command.  If you have a template world you are working from.  You might want to copy the world files and then take a look in the files in the behavior packs and see which one has the entity files and look at those in a text editor and see if you can get an idea of what is going on.

    I have not personally done any development work that deals with entity behaviors but there is a whole discord server for Bedrock development.  Just make sure you stick with things that work in 1.17 and lower (basically just don't use anything that is considered experimental, so much easier now that we caught up closer to bedrock, it had been getting so frustrating when we were stuck in 1.14!)

    1
  • Ugis Kagainis

    Thanks, Aleece!

    0

Please sign in to leave a comment.