Field Summary
Fields
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
Method Summary
All Methods Instance Methods Abstract Methods Default Methods
void
void
boolean
boolean
void
void
dropItem (com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion)
dropItem (com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion,
boolean dropAround)
dropItem (com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion,
boolean dropAround,
int delay)
dropItem (com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion,
int delay)
int
long
int
int
int
long
com.nukkitx.math.vector.Vector3f
int
int
int
boolean
void
boolean
boolean
boolean
void
default boolean
boolean
void
void
default void
void
void
void
boolean
void
void
void
boolean
void
void
void
void
default boolean
boolean
void
Methods inherited from interface org.cloudburstmc.api.level.ChunkManager
getBlock , getBlock , getBlock , getBlockState , getBlockState , getBlockState , getBlockState , getBlockState , getChunk , getChunk , getChunk , getChunk , getChunk , getChunkFuture , getChunkLoaders , getChunkPlayers , getChunks , getLoadedBlock , getLoadedBlock , getLoadedBlock , getLoadedChunk , getLoadedChunk , getLoadedChunk , getLoadedChunk , setBlockState , setBlockState , setBlockState , setBlockState , setBlockState , setBlockState , setBlockState , setBlockState , setBlockState , setBlockState , setBlockState
Method Details
unload
default boolean unload ()
unload
boolean unload (boolean force)
doTick
void doTick (int currentTick)
save
default boolean save ()
save
boolean save (boolean force)
scheduleUpdate
void scheduleUpdate (com.nukkitx.math.vector.Vector3i pos,
int delay)
updateAround
void updateAround (com.nukkitx.math.vector.Vector3i pos)
cancelScheduledUpdate
boolean cancelScheduledUpdate (com.nukkitx.math.vector.Vector3i pos)
isUpdateScheduled
boolean isUpdateScheduled (com.nukkitx.math.vector.Vector3i pos)
getFullLight
int getFullLight (com.nukkitx.math.vector.Vector3i pos)
useBreakOn
default ItemStack useBreakOn
(com.nukkitx.math.vector.Vector3i pos)
useBreakOn
default ItemStack useBreakOn
(com.nukkitx.math.vector.Vector3i pos,
ItemStack item,
Player player,
boolean createParticles)
useItemOn
default ItemStack useItemOn
(com.nukkitx.math.vector.Vector3i vector,
ItemStack item,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos)
useItemOn
ItemStack useItemOn
(com.nukkitx.math.vector.Vector3i vector,
ItemStack item,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
Player player,
boolean playSound)
getBiomeId
int getBiomeId (int x,
int z)
setBiomeId
void setBiomeId (int x,
int z,
byte biomeId)
getHighestBlock
int getHighestBlock (int x,
int z)
getSpawnLocation
com.nukkitx.math.vector.Vector3f getSpawnLocation ()
setSpawnLocation
void setSpawnLocation (com.nukkitx.math.vector.Vector3f pos)
setTime
void setTime (int time)
startTime
void startTime ()
sendTime
default void sendTime
(Player who)
sendTime
void sendTime
(Player ... players)
getCurrentTick
long getCurrentTick ()
setSeed
void setSeed (long seed)
isRaining
boolean isRaining ()
setRaining
boolean setRaining (boolean raining)
getRainTime
int getRainTime ()
setRainTime
void setRainTime (int time)
isThundering
boolean isThundering ()
setThundering
boolean setThundering (boolean thundering)
getThunderTime
int getThunderTime ()
setThunderTime
void setThunderTime (int time)
sendWeather
void sendWeather
(Player ... players)
addEntity
void addEntity
(Entity entity)
addEntityMovement
void addEntityMovement
(Entity entity,
double x,
double y,
double z,
double yaw,
double pitch,
double headYaw)
scheduleEntityUpdate
void scheduleEntityUpdate
(Entity entity)
removeEntity
void removeEntity
(Entity entity)
getTickRate
int getTickRate ()
getEntity
Entity getEntity
(long runtimeId)
getBlockEntity
BlockEntity getBlockEntity
(com.nukkitx.math.vector.Vector3i position)
canBlockSeeSky
boolean canBlockSeeSky (com.nukkitx.math.vector.Vector3i position)
dropItem
default DroppedItem dropItem
(com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion)
dropItem
default DroppedItem dropItem
(com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion,
int delay)
dropItem
default DroppedItem dropItem
(com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion,
boolean dropAround)
dropItem
DroppedItem dropItem
(com.nukkitx.math.vector.Vector3f position,
ItemStack item,
com.nukkitx.math.vector.Vector3f motion,
boolean dropAround,
int delay)