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 TileEntity
getBlockEntity(BlockPos p_175625_1_)
BlockState
getBlockState(BlockPos p_180495_1_)
private IChunk
getChunk(int p_226702_1_, int p_226702_2_)
private IChunk
getChunk(BlockPos p_226703_1_)
IBlockReader
getChunkForCollisions(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_)
FluidState
getFluidState(BlockPos p_204610_1_)
WorldBorder
getWorldBorder()
-
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:
getWorldBorder
in interfaceICollisionReader
-
getChunkForCollisions
public IBlockReader getChunkForCollisions(int p_225522_1_, int p_225522_2_)
- Specified by:
getChunkForCollisions
in interfaceICollisionReader
-
getBlockEntity
@Nullable public TileEntity getBlockEntity(BlockPos p_175625_1_)
- Specified by:
getBlockEntity
in interfaceIBlockReader
-
getBlockState
public BlockState getBlockState(BlockPos p_180495_1_)
- Specified by:
getBlockState
in 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:
getEntityCollisions
in 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:
getCollisions
in interfaceICollisionReader
-
getFluidState
public FluidState getFluidState(BlockPos p_204610_1_)
- Specified by:
getFluidState
in interfaceIBlockReader
-
-