Started by
JarpPlay
on
Topic category: Help with Minecraft modding (Java Edition)
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!
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
on*