Started by
Hellfax
on
Topic category: Help with Minecraft modding (Java Edition)
Is there a possibility to create a water mob that crawls along the seafloor or can't swim? I've tried setting a normal mob without the "is water entity" tick to spawn as a watercreature or as ambient with the condition of the block at which it spawns being water material and the block below it being solid. None of these have worked, and I don't want to select "is water entity", because that will make it have fish motor movement. I'm trying to make a marine benthic seafloor crab.
You could eliminate from the AI blocks the (does entity swim when in water), bit I guess you have tried this already.
Maybe you could do a normal water mob and, on the tick update procedure, do this:
Set velocity vx: [entity velocity x]. vy: [-4]. vx: [entity velocity z]
This should make it be "squashed" to the floor and hopefully don't swim like a fish :)
Thanks, I'll try this when I can!
hey, did you ever figure out how to do this?