How do I make an entity float on water without bouncing on water?

Started by Rukreep on

Topic category: Help with modding (Java Edition)

Last seen on 15:22, 31. May 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an entity float on water without bouncing on water?

Hey there,

I want to make this mod with entities that float on  the water. I've added the "Float/swim" on water task but when I check it, the entities just bounce in the water. How can I make it so that entities just go to the water top and stay there and do nothing? 

Regards,

~Rukreep

Last seen on 15:22, 31. May 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay now I have a new…
Mon, 11/01/2021 - 18:09

Okay now I have a new problem:

The entities float on water, but they can no longer spawn on water.

I unmarked the "Is Water entity"  and now they can't sink, but as hard as I can, they can't spawn on water.

How can I do this?

Last seen on 23:30, 16. May 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you tell me how you…
Mon, 05/06/2024 - 23:41

Could you tell me how you solved the first error?

Last seen on 08:22, 7. May 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you're still having…
Tue, 05/07/2024 - 07:50

If you're still having trouble with this might I suggest a quick peek at the code for an entity with a similar feature like the Strider, it spawns on and stands on lava which is a fluid block just like water, although much much hotter.

Last seen on 23:30, 16. May 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where can I find the code…
Tue, 05/07/2024 - 23:13

where can I find the code for an entity like the strider or a boat?