how to create a mob that doesn't move?

Started by _Cr1ssG4m3r_ on

Topic category: Help with MCreator software

Last seen on 15:44, 1. Apr 2023
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to create a mob that doesn't move?

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:48, 13. Mar 2024
Joined Feb 2019
Points:

User statistics:

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

Just disable AI

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 15:44, 1. Apr 2023
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 19:41, 25. Mar 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

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

Doesn't work unfortunately

Last seen on 19:41, 25. Mar 2024
Joined Sep 2019
Points:

User statistics:

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

:(

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 15:44, 1. Apr 2023
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 15:44, 1. Apr 2023
Joined Jan 2018
Points:

User statistics:

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

Thank you very much