How to make a water entity that can walk on sea floor

Started by IanDoesHacks on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a water entity that can walk on sea floor

So I've been making this mob that's pretty much like a crab, and I want it to walk around on the bottom of whatever water source you put it in.

However, when I enable walking it won't walk when underwater, only on land.
And if I make it a water entity it just starts floating towards the surface.

How can I make something that lives underwater but can walk on the bottom of the body of water?

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove Its ability to swim…
Sat, 02/26/2022 - 13:48

Remove Its ability to swim

Or when the crab is in water it Will go down movement vector procedure can do this

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did u solved it ? i also…
Sat, 03/26/2022 - 22:17

Did u solved it ? i also need help

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found a partial solution…
Mon, 04/24/2023 - 05:50

I found a partial solution to this

 So you make it Water Based entity

 You give it the swim code and walk set walk speed higher so its more likly to happen

Open the programming screen 

Set it for whenever it's not mopening it's bwing fonced down then you just need to ajust it just right now I have the still at - .06 and when moving at -.07 this allows it to mover up and down blocks with oit being stucked 

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So I my text Box was being…
Mon, 04/24/2023 - 05:50

So I my text Box was being very weird