World

Information about the world binding

setTimer

world.setTimer(speed)

Sets the timer speed (Defualt timer speed is 1)

ParameterTypeDescription

speed

Number

New timer speed

isSinglePlayer

world.isSinglePlayer()

Returns true if the user is in a singleplayer world

getLivingEntities

world.getLivingEntities()

Returns a list of EntityLivingBases. Refer to this to see how to loop through the entities.

timer

world.timer()

Returns the current timer speed as a Number

Last updated