How can I make a Mob hanging from the ceiling?

Started by JarpPlay on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a Mob hanging from the ceiling?

Hello everyone! I'm making a Half-Life mod for Minecraft and I'm trying to introduce the Barnacle, a creature that hangs from a ceiling and traps its victims with its tongue to devour them. My question is how can I make a mob that can only be placed on surfaces? Technically as if it were a Shulker, but that is only exclusively on ceilings. And by the way, how can I make this same mob able to trap other mobs that are underneath it? Thanks in advance!

''

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could try instead of…
Mon, 10/04/2021 - 22:06

you could try instead of entity a block, and that ok update tick, if there is an entity at X Y - 4 Z, it overrides its motion to X 0 Y Get velocity + 1 Z