Again, how do i make a random teleporter procedure?

Started by BlaBlaSillySheep on

Topic category: Help with modding (Java Edition)

Last seen on 12:27, 8. May 2023
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Again, how do i make a random teleporter procedure?

Like the title says, how can i achieve this?

Last seen on 00:05, 19. Apr 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when item used do for 0.5…
Fri, 05/22/2020 - 15:53

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

Last seen on 13:31, 10. Apr 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
please i need screenshot
Thu, 01/13/2022 - 03:20

please i need screenshot