public interface IWorldReader extends IEnviromentBlockReader
Modifier and Type | Method and Description |
---|---|
default boolean |
areCollisionShapesEmpty(AxisAlignedBB aabb) |
default boolean |
areCollisionShapesEmpty(Entity entityIn) |
default boolean |
canBlockSeeSky(BlockPos pos) |
default boolean |
checkNoEntityCollision(Entity entityIn) |
boolean |
checkNoEntityCollision(Entity entityIn,
VoxelShape shape) |
boolean |
chunkExists(int chunkX,
int chunkZ)
Deprecated.
|
default boolean |
containsAnyLiquid(AxisAlignedBB bb) |
default boolean |
func_217350_a(BlockState blockStateIn,
BlockPos pos,
ISelectionContext selectionContext) |
default float |
getBrightness(BlockPos pos) |
default IChunk |
getChunk(BlockPos pos) |
default IChunk |
getChunk(int chunkX,
int chunkZ) |
default IChunk |
getChunk(int chunkX,
int chunkZ,
ChunkStatus requiredStatus) |
IChunk |
getChunk(int x,
int z,
ChunkStatus requiredStatus,
boolean nonnull) |
default ChunkStatus |
getChunkStatus() |
default java.util.stream.Stream<VoxelShape> |
getCollisionShapes(Entity entityIn,
AxisAlignedBB aabb) |
default java.util.stream.Stream<VoxelShape> |
getCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
Dimension |
getDimension() |
default java.util.stream.Stream<VoxelShape> |
getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
BlockPos |
getHeight(Heightmap.Type heightmapType,
BlockPos pos) |
int |
getHeight(Heightmap.Type heightmapType,
int x,
int z) |
default int |
getLight(BlockPos pos) |
int |
getLightSubtracted(BlockPos pos,
int amount) |
default int |
getNeighborAwareLightSubtracted(BlockPos pos,
int amount) |
int |
getSeaLevel() |
int |
getSkylightSubtracted() |
default int |
getStrongPower(BlockPos pos,
Direction direction) |
WorldBorder |
getWorldBorder() |
default boolean |
hasWater(BlockPos pos) |
default boolean |
isAirBlock(BlockPos pos) |
default boolean |
isAreaLoaded(BlockPos from,
BlockPos to)
Deprecated.
|
default boolean |
isAreaLoaded(BlockPos center,
int range) |
default boolean |
isAreaLoaded(int p_217344_1_,
int p_217344_2_,
int p_217344_3_,
int p_217344_4_,
int p_217344_5_,
int p_217344_6_)
Deprecated.
|
default boolean |
isBlockLoaded(BlockPos pos)
Deprecated.
|
default boolean |
isCollisionBoxesEmpty(Entity entityIn,
AxisAlignedBB aabb) |
default boolean |
isCollisionBoxesEmpty(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
boolean |
isRemote() |
getBiome, getCombinedLight, getLightFor, isSkyLightMax
func_217296_a, func_217300_a, getBlockState, getFluidState, getHeight, getLightValue, getMaxLightLevel, getTileEntity, rayTraceBlocks
default boolean isAirBlock(BlockPos pos)
default boolean canBlockSeeSky(BlockPos pos)
int getLightSubtracted(BlockPos pos, int amount)
@Nullable IChunk getChunk(int x, int z, ChunkStatus requiredStatus, boolean nonnull)
@Deprecated boolean chunkExists(int chunkX, int chunkZ)
BlockPos getHeight(Heightmap.Type heightmapType, BlockPos pos)
int getHeight(Heightmap.Type heightmapType, int x, int z)
default float getBrightness(BlockPos pos)
int getSkylightSubtracted()
WorldBorder getWorldBorder()
boolean checkNoEntityCollision(@Nullable Entity entityIn, VoxelShape shape)
boolean isRemote()
int getSeaLevel()
default IChunk getChunk(int chunkX, int chunkZ)
default IChunk getChunk(int chunkX, int chunkZ, ChunkStatus requiredStatus)
default ChunkStatus getChunkStatus()
default boolean func_217350_a(BlockState blockStateIn, BlockPos pos, ISelectionContext selectionContext)
default boolean checkNoEntityCollision(Entity entityIn)
default boolean areCollisionShapesEmpty(AxisAlignedBB aabb)
default boolean areCollisionShapesEmpty(Entity entityIn)
default boolean isCollisionBoxesEmpty(Entity entityIn, AxisAlignedBB aabb)
default boolean isCollisionBoxesEmpty(@Nullable Entity entityIn, AxisAlignedBB aabb, java.util.Set<Entity> entitiesToIgnore)
default java.util.stream.Stream<VoxelShape> getEmptyCollisionShapes(@Nullable Entity entityIn, AxisAlignedBB aabb, java.util.Set<Entity> entitiesToIgnore)
default java.util.stream.Stream<VoxelShape> getCollisionShapes(@Nullable Entity entityIn, AxisAlignedBB aabb, java.util.Set<Entity> entitiesToIgnore)
default java.util.stream.Stream<VoxelShape> getCollisionShapes(@Nullable Entity entityIn, AxisAlignedBB aabb)
default boolean hasWater(BlockPos pos)
default boolean containsAnyLiquid(AxisAlignedBB bb)
default int getLight(BlockPos pos)
default int getNeighborAwareLightSubtracted(BlockPos pos, int amount)
@Deprecated default boolean isBlockLoaded(BlockPos pos)
default boolean isAreaLoaded(BlockPos center, int range)
@Deprecated default boolean isAreaLoaded(int p_217344_1_, int p_217344_2_, int p_217344_3_, int p_217344_4_, int p_217344_5_, int p_217344_6_)
Dimension getDimension()