world
World/entity related functions.
getBlockAt
Block block = world.getBlockAt(Vec3 position);Returns a block at a specified position.
getDimension
String dimension = world.getDimension();Returns the current dimension name.
getEntities
List<Entity> entities = world.getEntities();Returns the entity list.
getEntityById
Entity entity = world.getEntityById(int entityId);Returns an entity from their entity ID.
getNetworkPlayers
List<NetworkPlayer> networkPlayers = world.getNetworkPlayers();Returns the network player list.
getPlayerEntities
Returns the player entity list.
getScoreboard
Returns the scoreboard.
getTeams
Returns the team map.
getTileEntities
Returns the tile entity list.
Last updated