Package cn.nukkit.level
Class ListChunkManager
java.lang.Object
cn.nukkit.level.ListChunkManager
- All Implemented Interfaces:
ChunkManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBlockDataAt
(int x, int y, int z) int
getBlockDataAt
(int x, int y, int z, int layer) int
getBlockIdAt
(int x, int y, int z) int
getBlockIdAt
(int x, int y, int z, int layer) getBlockStateAt
(int x, int y, int z, int layer) getChunk
(int chunkX, int chunkZ) long
getSeed()
void
setBlockAt
(int x, int y, int z, int id, int data) boolean
setBlockAtLayer
(int x, int y, int z, int layer, int id, int data) void
setBlockDataAt
(int x, int y, int z, int data) void
setBlockDataAt
(int x, int y, int z, int layer, int data) void
setBlockFullIdAt
(int x, int y, int z, int fullId) void
setBlockFullIdAt
(int x, int y, int z, int layer, int fullId) void
setBlockIdAt
(int x, int y, int z, int id) void
setBlockIdAt
(int x, int y, int z, int layer, int id) boolean
setBlockStateAt
(int x, int y, int z, int layer, BlockState state) void
setChunk
(int chunkX, int chunkZ) void
setChunk
(int chunkX, int chunkZ, BaseFullChunk chunk) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.level.ChunkManager
getBlockStateAt, getChunk, setBlockAt, setBlockAtLayer, setBlockStateAt
-
Constructor Details
-
ListChunkManager
-
-
Method Details
-
getBlockIdAt
public int getBlockIdAt(int x, int y, int z) - Specified by:
getBlockIdAt
in interfaceChunkManager
-
getBlockIdAt
- Specified by:
getBlockIdAt
in interfaceChunkManager
-
setBlockFullIdAt
public void setBlockFullIdAt(int x, int y, int z, int fullId) - Specified by:
setBlockFullIdAt
in interfaceChunkManager
-
setBlockFullIdAt
- Specified by:
setBlockFullIdAt
in interfaceChunkManager
-
setBlockIdAt
public void setBlockIdAt(int x, int y, int z, int id) - Specified by:
setBlockIdAt
in interfaceChunkManager
-
setBlockIdAt
- Specified by:
setBlockIdAt
in interfaceChunkManager
-
setBlockAt
public void setBlockAt(int x, int y, int z, int id, int data) - Specified by:
setBlockAt
in interfaceChunkManager
-
setBlockAtLayer
- Specified by:
setBlockAtLayer
in interfaceChunkManager
-
setBlockStateAt
@Since("1.4.0.0-PN") @PowerNukkitOnly public boolean setBlockStateAt(int x, int y, int z, int layer, BlockState state) - Specified by:
setBlockStateAt
in interfaceChunkManager
-
getBlockStateAt
@Since("1.4.0.0-PN") @PowerNukkitOnly public BlockState getBlockStateAt(int x, int y, int z, int layer) - Specified by:
getBlockStateAt
in interfaceChunkManager
-
getBlockDataAt
public int getBlockDataAt(int x, int y, int z) - Specified by:
getBlockDataAt
in interfaceChunkManager
-
getBlockDataAt
- Specified by:
getBlockDataAt
in interfaceChunkManager
-
setBlockDataAt
public void setBlockDataAt(int x, int y, int z, int data) - Specified by:
setBlockDataAt
in interfaceChunkManager
-
setBlockDataAt
- Specified by:
setBlockDataAt
in interfaceChunkManager
-
getChunk
- Specified by:
getChunk
in interfaceChunkManager
-
setChunk
public void setChunk(int chunkX, int chunkZ) - Specified by:
setChunk
in interfaceChunkManager
-
setChunk
- Specified by:
setChunk
in interfaceChunkManager
-
getSeed
public long getSeed()- Specified by:
getSeed
in interfaceChunkManager
-
getBlocks
-