How can I make a Mob hanging from the ceiling?

Started by JarpPlay on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Sep 2021
Points:
539

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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!

''

Active 1 year ago
Joined Oct 2020
Points:
1624

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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

Active 1 year ago
Joined Oct 2020
Points:
1624

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
on*
Mon, 10/04/2021 - 22:06

on*