Class World
java.lang.Object
com.zenith.feature.player.World
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaffectsFlow(FluidState inType, @Nullable FluidState fluidState) blockInteractionCenter(int x, int y, int z) getBlock(int blockStateId) getBlock(int x, int y, int z) getBlock(long blockPos) it.unimi.dsi.fastutil.longs.LongListit.unimi.dsi.fastutil.longs.LongListgetBlockState(int x, int y, int z) getBlockState(long blockPos) getBlockState(BlockPos blockPos) intgetBlockStateId(int x, int y, int z) intgetBlockStateId(BlockPos blockPos) @Nullable ChunkgetChunk(int chunkX, int chunkZ) @Nullable ChunkSectiongetChunkSection(int x, int y, int z) doubledoubledoublevoidgetFluidFlow(int x, int y, int z) getFluidFlow(BlockState localBlockState) floatgetFluidHeight(@Nullable FluidState fluidState) @Nullable FluidStategetFluidState(int blockStateId) @Nullable FluidStategetFluidState(int x, int y, int z) voidbooleanisBoat(EntityType entityType) booleanisChunkLoadedBlockPos(int blockX, int blockZ) booleanisChunkLoadedChunkPos(int chunkX, int chunkZ) booleanbooleanisInWorldBounds(int x, int y, int z) booleanbooleanbooleanonClimbable(EntityLiving entity)
-
Constructor Details
-
World
public World()
-
-
Method Details
-
getChunkSection
-
getChunk
-
getCurrentDimension
-
isChunkLoadedBlockPos
public boolean isChunkLoadedBlockPos(int blockX, int blockZ) -
isChunkLoadedChunkPos
public boolean isChunkLoadedChunkPos(int chunkX, int chunkZ) -
isInWorldBounds
public boolean isInWorldBounds(int x, int y, int z) -
getBlockStateId
-
getBlockStateId
public int getBlockStateId(int x, int y, int z) -
getBlockState
-
getBlockState
-
getBlockState
-
getBlock
-
getBlock
-
getBlock
-
getBlock
-
getIntersectingCollisionBoxes
-
getSolidBlockCollisionBoxes
public void getSolidBlockCollisionBoxes(LocalizedCollisionBox cb, List<LocalizedCollisionBox> results) -
getEntityCollisionBoxes
-
isBoat
-
isWater
-
isFluid
-
getFluidState
-
getBlockPosLongListInCollisionBox
public it.unimi.dsi.fastutil.longs.LongList getBlockPosLongListInCollisionBox(LocalizedCollisionBox cb) -
getBlockPosLongListInCollisionBoxInside
public it.unimi.dsi.fastutil.longs.LongList getBlockPosLongListInCollisionBoxInside(LocalizedCollisionBox cb) -
getCollidingBlockStates
-
getCollidingBlockStatesInside
-
isSpaceEmpty
-
findSupportingBlockPos
-
getFluidFlow
-
getFluidFlow
-
getFluidHeight
-
affectsFlow
-
getFluidState
-
onClimbable
-
blockInteractionCenter
-
getCurrentPlayerX
public double getCurrentPlayerX() -
getCurrentPlayerY
public double getCurrentPlayerY() -
getCurrentPlayerZ
public double getCurrentPlayerZ()
-