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
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<RegistryKey<Biome>>
getBiomeName
(BlockPos p_242406_1_) default Stream<VoxelShape>
getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, 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_) 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 Details
-
getEntityCollisions
default Stream<VoxelShape> getEntityCollisions(@Nullable Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) - Specified by:
getEntityCollisions
in interfaceICollisionReader
- Specified by:
getEntityCollisions
in interfaceIEntityReader
-
isUnobstructed
- Specified by:
isUnobstructed
in interfaceICollisionReader
- Specified by:
isUnobstructed
in interfaceIEntityReader
-
getHeightmapPos
- Specified by:
getHeightmapPos
in interfaceIWorldGenerationBaseReader
- Specified by:
getHeightmapPos
in interfaceIWorldReader
-
registryAccess
DynamicRegistries registryAccess() -
getBiomeName
-