Started by llamalife on Sun, 04/05/2020 - 20:00 Topic category: Help with Minecraft modding (Java Edition) I'm making a flash mod and it needs to have said abilities. Jump to top to run on water just check for water block at y-1 and give 1 tick levitation each time to run up walls use if entity is sprinting, and check for if block at x+1,y+1≠air or if x-1,y-1≠air or z-1,y+1≠air or z+1,y-1≠air give levitation Run through walls, just check for if entity is printing, and check for if block at x+1≠air or if x-1≠air or z-1≠air or z+1≠air then teleport Jump to top Permalink Log in or register to post comments This is a bit complicated since there's no "check for _ at x:_ y:_ z:_" procedure block and I have been trying lots of not working stuff and I searched the entire block pallet and still nothing so could someone please tell me what to do for that Jump to top Permalink Log in or register to post comments There is a "check if block at x: y: z: is air/water block." Just set the values to a math block relative to the player coords. Jump to top Permalink Log in or register to post comments
to run on water just check for water block at y-1 and give 1 tick levitation each time to run up walls use if entity is sprinting, and check for if block at x+1,y+1≠air or if x-1,y-1≠air or z-1,y+1≠air or z+1,y-1≠air give levitation Run through walls, just check for if entity is printing, and check for if block at x+1≠air or if x-1≠air or z-1≠air or z+1≠air then teleport Jump to top Permalink Log in or register to post comments
This is a bit complicated since there's no "check for _ at x:_ y:_ z:_" procedure block and I have been trying lots of not working stuff and I searched the entire block pallet and still nothing so could someone please tell me what to do for that Jump to top Permalink Log in or register to post comments
There is a "check if block at x: y: z: is air/water block." Just set the values to a math block relative to the player coords. Jump to top Permalink Log in or register to post comments
to run on water just check for water block at y-1 and give 1 tick levitation each time
to run up walls use if entity is sprinting, and check for
if block at x+1,y+1≠air
or if x-1,y-1≠air
or z-1,y+1≠air
or z+1,y-1≠air
give levitation
Run through walls, just check for if entity is printing, and check for
if block at x+1≠air
or if x-1≠air
or z-1≠air
or z+1≠air
then teleport
This is a bit complicated since there's no "check for _ at x:_ y:_ z:_" procedure block and I have been trying lots of not working stuff and I searched the entire block pallet and still nothing so could someone please tell me what to do for that
There is a "check if block at x: y: z: is air/water block." Just set the values to a math block relative to the player coords.