Started by BlaBlaSillySheep on Fri, 05/22/2020 - 15:41 Topic category: Help with Minecraft modding (Java Edition) Like the title says, how can i achieve this? Jump to top when item used do for 0.5 chance set nbt tag teleport x to: x+10*(randomNumber between 0,1) else set nbt tag teleport x to: x-10*(randomNumber between 0,1) do for 0.5 chance set nbt tag teleport z to: z+10*(randomNumber between 0,1) else set nbt tag teleport z to: z-10*(randomNumber between 0,1) move player to X: nbt tag teleport x, y:y, z: nbt tag teleport z #Moves player to near 10 +/- x, and near 10 +/- z, and keep y Jump to top Permalink Log in or register to post comments please i need screenshot Jump to top Permalink Log in or register to post comments
when item used do for 0.5 chance set nbt tag teleport x to: x+10*(randomNumber between 0,1) else set nbt tag teleport x to: x-10*(randomNumber between 0,1) do for 0.5 chance set nbt tag teleport z to: z+10*(randomNumber between 0,1) else set nbt tag teleport z to: z-10*(randomNumber between 0,1) move player to X: nbt tag teleport x, y:y, z: nbt tag teleport z #Moves player to near 10 +/- x, and near 10 +/- z, and keep y Jump to top Permalink Log in or register to post comments
when item used
do for 0.5 chance
set nbt tag teleport x to: x+10*(randomNumber between 0,1)
else
set nbt tag teleport x to: x-10*(randomNumber between 0,1)
do for 0.5 chance
set nbt tag teleport z to: z+10*(randomNumber between 0,1)
else
set nbt tag teleport z to: z-10*(randomNumber between 0,1)
move player to X: nbt tag teleport x, y:y, z: nbt tag teleport z
#Moves player to near 10 +/- x, and near 10 +/- z, and keep y
please i need screenshot