An entity that falls asleep when I use an object on it

Started by Namu3l on

Topic category: Advanced modding

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
An entity that falls asleep when I use an object on it

Hello! I am trying to make an entity (an animal, monster, etc.) that falls asleep when I use an object on it. Any idea how to do it? I use Blockbench for modeling, just in case. Thanks! You are helping me a lot, people :)

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is no "asleep" or "no…
Tue, 04/14/2020 - 13:06

There is no "asleep" or "no asleep", so it’s sure that you will have to hand code or try somethhing with tweaking some functionalities of MCreator.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know it :) I'd just like…
Tue, 04/14/2020 - 13:39

I know it :) I'd just like to know if anyone has an idea on how to implement it. I think one way could be to limit the mobility of the mob by using an object on it. Also prevent it from attacking by changing its faction. What do you think? Am I getting too complicated?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, it was the way I thought…
Tue, 04/14/2020 - 13:43

No, it was the way I thought too. It should work, event if it’s surely not the best way to do.