Started by CaiGuyCrafter on Fri, 04/16/2021 - 15:09
Topic category: Help with modding (Java Edition)
I've seen walking on water done in Minecraft mods before, but I don't know how to do it in Mcreator. I've looked it up before, but it hasn't been very clarifying. In other forums, it says that all you have to do is detect if there is water below you and if there is give yourself levitation for one tick, but that doesn't seem to work... So, does anyone have any other suggestions? If so, I'm wondering if there is a way to make water like a solid block instead of giving a potion effect, because if you go into your inventory, you'll be able to see the effect and I don't want that. Anyway, thanks!
Edited by CaiGuyCrafter on Sat, 04/17/2021 - 01:49
Just for clarification it's kind of like a Naruto thing.
You could make a fake solid block that looks exactly like water that only appears under a player when they're above water.
Ok, I could try this, thanks!
Of course, it wouldn't work if someone had a texture pack tho
are you making a Naruto mod? Because I see you a lot in the forums now. I made a jojo mod and I had to use the forums A LOT in order to make it.
Yeah, I'm actually making an anime mod, so yeah, a lot of forums 😅. But yeah, I still need help trying to walk on water since the invisible block doesn't quite work for what I'm trying to do.
you could make an INVISIBLE WATERLOGGABLE SLAB appear under the player's feet when they run on water
Ooh! That may just work! Thank you so much!
You could use the movement vector block to set the players y-velocity to 0 while touching water too
did it work?
Have not tried it yet as I had a couple errors doing a couple other things so I couldn't actually test it, but when I get those resolved I will try both of your methods.
a procedure that disable the gravity of the player maybe
when the block under the player is water