World

world.getEntityList

Returns an array of entities within your render distance

world.getEntityList()

world.getPlayerEntities

Returns an array of player entities within your render distance

world.getPlayerEntities()

world.getBlockAtBlockPos

Returns the Block object

world.getBlockAtBlockPos(pos) - Block

world.getBlockPos

Returns a BlockPos object from the given coordinates

world.getBlockPos(x,y,z) - BlockPos

world.getBlockName

Returns an unlocalized name of a block

world.getBlockName(block) - String

world.removeEntity

Removes the given player from the world

world.removeEntity(entity)

Last updated