moonscript
Search…
World

world.entities

1
world.entities() - List of entities
Copied!
Returns a list of all entities in your current render distance.

world.livingEntities

1
world.livingEntities() - List of living entities
Copied!
Returns all living entities in your current render distance.

world.playerEntities

1
world.playerEntities() - List of player entities
Copied!
Returns all player entities in your current render distance.

world.reloadChunks

1
world.reloadChunks()
Copied!
Reloads the chunks in the current render distance.

world.removeEntity

1
world.removeEntity(entityName)
Copied!
Argument
Object
Description
entityName
String
Name of the removed entity
Removes an entity from your current world.

world.isBot

1
world.isBot(entityName) - Boolean
Copied!
Argument
Object
Description
entityName
String
Name of the checked entity
Returns if the given entity was detected by the module AntiBot.

world.unlocalizedAt

1
world.unlocalizedAt(x, y, z) - String
Copied!
Argument
Object
Description
x
Number
Pos x
y
Number
Pos y
z
Number
Pos z
Returns the unlocalized name of the block at the given position.

world.localizedAt

1
world.localizedAt(x, y, z)- String
Copied!
Argument
Object
Description
x
Number
Pos x
y
Number
Pos y
z
Number
Pos z
Returns the localized name of the block at the given position.
Last modified 11mo ago