#How to load a chunk before a player is teleported to there

1 messages · Page 1 of 1 (latest)

stone goblet
#

Hey so I'm currently making a command called "water MLG" wherein it teleports you to a random location when you do a command and sends you 50 blocks into the air with a water bucket. The only problems is the chunks aren't loaded so I can't see anything, here is my code so far

    permission: op
    trigger:
        set {_x} to random integer between -4000 and 4000
        set {_z} to random integer between -4000 and 4000
        set {_loc} to highest solid block at location({_x}, 0, {_z}, "MLG")
        teleport player to {_loc}

Thanks in advance <3

#

Sorry, forgot to add, not just to load the chunk, but only teleport the player after the chunk is loaded*

inland wadi
stone goblet
inland wadi
#
#

It clearly is

stone goblet
# inland wadi It clearly is

for SkBee, that is not a tag that is on my thread, I'm not using that as it doesn't natively support 1.21, which I'm using

inland wadi
#

Uhh

#

Since when doesnt skbee support 1.21

stone goblet
#

It supports 1.21.4-1.21.8

inland wadi
#

So, have you tried installing it onto your server?

stone goblet
inland wadi
#

Or maybe

#

Get an older version of it?

stone goblet
#

They never made a version for 1.21

stone goblet
#

I assumed it wouldn't work

lost badger
icy wraith