Package com.loohp.limbo.world
Class World
java.lang.Object
com.loohp.limbo.world.World
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.querz.mca.Chunk
static final net.querz.nbt.tag.CompoundTag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBlock
(int x, int y, int z) getBlock
(org.cloudburstmc.math.vector.Vector3i blockPosition) net.querz.mca.Chunk
getChunkAt
(int x, int z) net.querz.mca.Chunk
getChunkAtWorldPos
(int x, int z) int
net.querz.mca.Chunk[][]
int
int
getChunkX
(net.querz.mca.Chunk chunk) int[]
getChunkXZ
(net.querz.mca.Chunk chunk) int
getChunkZ
(net.querz.mca.Chunk chunk) protected DataWatcher
getDataWatcher
(Entity entity) int
getName()
int
getWidth()
int
hashCode()
boolean
protected void
removeEntity
(Entity entity) void
setBlock
(int x, int y, int z, BlockState state) protected void
void
setBlock
(org.cloudburstmc.math.vector.Vector3i blockPosition, BlockState state) spawnEntity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location) void
update()
-
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()
-