Package com.loohp.limbo.world
Class World
java.lang.Object
com.loohp.limbo.world.World
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.querz.mca.Chunkstatic final net.querz.nbt.tag.CompoundTag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBlock(int x, int y, int z) getBlock(org.cloudburstmc.math.vector.Vector3i blockPosition) net.querz.mca.ChunkgetChunkAt(int x, int z) net.querz.mca.ChunkgetChunkAtWorldPos(int x, int z) intnet.querz.mca.Chunk[][]intintgetChunkX(net.querz.mca.Chunk chunk) int[]getChunkXZ(net.querz.mca.Chunk chunk) intgetChunkZ(net.querz.mca.Chunk chunk) protected DataWatchergetDataWatcher(Entity entity) intgetName()intgetWidth()inthashCode()booleanprotected voidremoveEntity(Entity entity) voidsetBlock(int x, int y, int z, BlockState state) protected voidvoidsetBlock(org.cloudburstmc.math.vector.Vector3i blockPosition, BlockState state) spawnEntity(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location) voidupdate()
-
Field Details
-
HEIGHT_MAP
public static final net.querz.nbt.tag.CompoundTag HEIGHT_MAP -
EMPTY_CHUNK
public static final net.querz.mca.Chunk EMPTY_CHUNK
-
-
Constructor Details
-
World
-
-
Method Details
-
getLightEngineBlock
-
getLightEngineSky
-
hasSkyLight
public boolean hasSkyLight() -
setBlock
-
getBlock
-
getBlock
-
setBlock
-
setBlock
-
getChunks
public net.querz.mca.Chunk[][] getChunks() -
getChunkAtWorldPos
public net.querz.mca.Chunk getChunkAtWorldPos(int x, int z) -
getChunkAt
public net.querz.mca.Chunk getChunkAt(int x, int z) -
getChunkX
public int getChunkX(net.querz.mca.Chunk chunk) -
getChunkZ
public int getChunkZ(net.querz.mca.Chunk chunk) -
getChunkXZ
public int[] getChunkXZ(net.querz.mca.Chunk chunk) -
getName
-
getEnvironment
-
getWidth
public int getWidth() -
getLength
public int getLength() -
getChunkWidth
public int getChunkWidth() -
getChunkLength
public int getChunkLength() -
getEntities
-
spawnEntity
-
addEntity
-
getPlayers
-
removeEntity
-
getDataWatcher
-
update
-
equals
-
hashCode
public int hashCode()
-