Started by
twistcharlie312
on
Topic category: Help with MCreator software
(I did do a lot of research before I made this topic)
so I want the player to be able to climb but ive tried a lot of things and I mean a lot like vines, ladders they don't work with the place a block and I tried the teleport way that doesn't work or the floating potion thing none of them works or I was doing it wrong can someone gimme a screenshot on how I would do it pls
Adding climbing block is not possible yet in MCreator, but we will consider adding this feature in next updates.
nope like spider man you know them mods that make it able to climb but now with blocks?
i mean without blocks lol
The only way I can think of making this remotely possible is a making a keybind to give the player levitation. And this wouldn't really seem like climbing.
i know i need it to check for enyblock on the side like back or front
and if i hold item with it then give levitaion
You could check if some blocks around the player are not air by simply using a
If NOT {[(is block air at x+1, y, z) OR (is block air at x-1, y, z)] OR (is block air at x, y, z+1)... Etc.}
And then you could give the player hidden levitation
But entity coordinates are a bit imprecise right now
We pass direct entity coordinates as stored in entity data. If you need to convert coordinates from decimal to an integer, use round procedure block as normal rounding to integers will just strip the decimal part.
I use the round block but they still are a bit bugged. For example, in Hodge-Podge III, there is potion effect that makes you turn lava you walk on into temporary solid blocks (similarly to frost walker), but the blocks always are too left or too right, even if the coordinates are rounded
This most likely means that the neighbour blocks detect collision for some reason. The coordinates are directly passed to procedures so I am not sure what the source of the error would be. I will check this out and try to find something.