World
Information about the world binding

setTimer

1
world.setTimer(speed)
Copied!
Sets the timer speed (Defualt timer speed is 1)
Parameter
Type
Description
speed
Number
New timer speed

isSinglePlayer

1
world.isSinglePlayer()
Copied!
Returns true if the user is in a singleplayer world

getLivingEntities

1
world.getLivingEntities()
Copied!
Returns a list of EntityLivingBases. Refer to this to see how to loop through the entities.

timer

1
world.timer()
Copied!
Returns the current timer speed as a Number
Last modified 3mo ago