Package net.minecraft.world
Interface IBiomeReader
-
- All Superinterfaces:
BiomeManager.IBiomeReader
,IBlockDisplayReader
,IBlockReader
,ICollisionReader
,IEntityReader
,IWorldGenerationBaseReader
,IWorldGenerationReader
,IWorldReader
,IWorldWriter
- All Known Subinterfaces:
ISeedReader
,IServerWorld
,IWorld
- All Known Implementing Classes:
ClientWorld
,ServerWorld
,World
,WorldGenRegion
public interface IBiomeReader extends IEntityReader, IWorldReader, IWorldGenerationReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Optional<RegistryKey<Biome>>
getBiomeName(BlockPos p_242406_1_)
default java.util.stream.Stream<VoxelShape>
getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
default BlockPos
getHeightmapPos(Heightmap.Type p_205770_1_, BlockPos p_205770_2_)
default boolean
isUnobstructed(Entity p_195585_1_, VoxelShape p_195585_2_)
DynamicRegistries
registryAccess()
-
Methods inherited from interface net.minecraft.world.IBlockDisplayReader
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShade
-
Methods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevel
-
Methods inherited from interface net.minecraft.world.ICollisionReader
getBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision
-
Methods inherited from interface net.minecraft.world.IEntityReader
getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getLoadedEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer, players
-
Methods inherited from interface net.minecraft.world.gen.IWorldGenerationBaseReader
isStateAtPosition
-
Methods inherited from interface net.minecraft.world.IWorldReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getDirectSignal, getHeight, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getNoiseBiome, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunk, hasChunkAt, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAt
-
Methods inherited from interface net.minecraft.world.IWorldWriter
addFreshEntity, destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlock
-
-
-
-
Method Detail
-
getEntityCollisions
default 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
- Specified by:
getEntityCollisions
in interfaceIEntityReader
-
isUnobstructed
default boolean isUnobstructed(@Nullable Entity p_195585_1_, VoxelShape p_195585_2_)
- Specified by:
isUnobstructed
in interfaceICollisionReader
- Specified by:
isUnobstructed
in interfaceIEntityReader
-
getHeightmapPos
default BlockPos getHeightmapPos(Heightmap.Type p_205770_1_, BlockPos p_205770_2_)
- Specified by:
getHeightmapPos
in interfaceIWorldGenerationBaseReader
- Specified by:
getHeightmapPos
in interfaceIWorldReader
-
registryAccess
DynamicRegistries registryAccess()
-
getBiomeName
default java.util.Optional<RegistryKey<Biome>> getBiomeName(BlockPos p_242406_1_)
-
-