Package net.minecraft.world
Class Region
- java.lang.Object
-
- net.minecraft.world.Region
-
- All Implemented Interfaces:
IBlockReader,ICollisionReader
public class Region extends java.lang.Object implements IBlockReader, ICollisionReader
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TileEntitygetBlockEntity(BlockPos p_175625_1_)BlockStategetBlockState(BlockPos p_180495_1_)private IChunkgetChunk(int p_226702_1_, int p_226702_2_)private IChunkgetChunk(BlockPos p_226703_1_)IBlockReadergetChunkForCollisions(int p_225522_1_, int p_225522_2_)java.util.stream.Stream<VoxelShape>getCollisions(Entity p_234867_1_, AxisAlignedBB p_234867_2_, java.util.function.Predicate<Entity> p_234867_3_)java.util.stream.Stream<VoxelShape>getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)FluidStategetFluidState(BlockPos p_204610_1_)WorldBordergetWorldBorder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxBuildHeight, getMaxLightLevel
-
Methods inherited from interface net.minecraft.world.ICollisionReader
getBlockCollisions, getBlockCollisions, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision
-
-
-
-
Method Detail
-
getChunk
private IChunk getChunk(int p_226702_1_, int p_226702_2_)
-
getWorldBorder
public WorldBorder getWorldBorder()
- Specified by:
getWorldBorderin interfaceICollisionReader
-
getChunkForCollisions
public IBlockReader getChunkForCollisions(int p_225522_1_, int p_225522_2_)
- Specified by:
getChunkForCollisionsin interfaceICollisionReader
-
getBlockEntity
@Nullable public TileEntity getBlockEntity(BlockPos p_175625_1_)
- Specified by:
getBlockEntityin interfaceIBlockReader
-
getBlockState
public BlockState getBlockState(BlockPos p_180495_1_)
- Specified by:
getBlockStatein interfaceIBlockReader
-
getEntityCollisions
public java.util.stream.Stream<VoxelShape> getEntityCollisions(@Nullable Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
- Specified by:
getEntityCollisionsin interfaceICollisionReader
-
getCollisions
public java.util.stream.Stream<VoxelShape> getCollisions(@Nullable Entity p_234867_1_, AxisAlignedBB p_234867_2_, java.util.function.Predicate<Entity> p_234867_3_)
- Specified by:
getCollisionsin interfaceICollisionReader
-
getFluidState
public FluidState getFluidState(BlockPos p_204610_1_)
- Specified by:
getFluidStatein interfaceIBlockReader
-
-