how to create a mob that doesn't move?

Started by _Cr1ssG4m3r_ on Thu, 03/12/2020 - 19:38

Topic category: Help with MCreator software

Last seen on 05:30, 26. Nov 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to create a mob that doesn't move?
Thu, 03/12/2020 - 19:38

I want to create a mob that does not move from its spawn place, when the mob hits it, it does not move, it just stays still, nor can it be pushed, how can I achieve this?

Last seen on 11:26, 22. Nov 2020
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just disable AI
Fri, 03/13/2020 - 06:50

Just disable AI

Last seen on 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Remove all ai functions but…
Fri, 03/13/2020 - 08:05

Remove all ai functions but it will still move if pushed or hit. I'm looking for a solution to this myself.

Last seen on 05:30, 26. Nov 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you very much, I will…
Fri, 03/13/2020 - 15:05

Thank you very much, I will wait for your answer

Last seen on 11:52, 28. Nov 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
do on entity tick update,…
Fri, 03/13/2020 - 17:48

do on entity tick update, stick entity in cobweb for a tick. However if it falls it freezes in the air

Last seen on 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Doesn't work unfortunately
Fri, 03/13/2020 - 19:13

Doesn't work unfortunately

Last seen on 11:52, 28. Nov 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
:(
Fri, 03/13/2020 - 19:39

:(

Last seen on 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think the only way without…
Sat, 03/14/2020 - 00:19

I think the only way without coding is to spawn the mob and onspawn, put 4 BARRIER blocks around them then remove the blocks when it dies.

Last seen on 05:30, 26. Nov 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you very much, how can…
Sat, 03/14/2020 - 00:59

Thank you very much, how can I achieve this?

Last seen on 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Edit entity Add new…
Sat, 03/14/2020 - 09:14

Edit entity
Add new procedure under "on initial entity spawn"

(Block) Place [barrier] at x y z+1
(Block) Place [barrier] at x+1 y z
(Block) Place [barrier] at x y z-1
(Block) Place [barrier] at x-1 y z

Then "When entity dies"

Remove block at x y z+1
Remove block at x+1 y z
Remove block at x y z-1
Remove block at x-1 y z
 

Last seen on 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This obviously means you…
Sat, 03/14/2020 - 09:16

This obviously means you cannot get right next to the mob but shouldn't matter too much, you can still reach to attack etc. Test it and see what you think.

 

You could also put a barrier block above their head to stop them jumping up when hit too (place block at y+2)

Last seen on 05:30, 26. Nov 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you very much
Sat, 03/14/2020 - 15:49

Thank you very much