Package net.minecraft.world.level
Interface CommonLevelAccessor
- All Superinterfaces:
- BiomeManager.NoiseBiomeSource,- BlockAndTintGetter,- BlockGetter,- CollisionGetter,- EntityGetter,- IBlockAndTintGetterExtension,- IBlockGetterExtension,- LevelHeightAccessor,- LevelReader,- LevelSimulatedReader,- LevelSimulatedRW,- LevelWriter,- SignalGetter
- All Known Subinterfaces:
- LevelAccessor,- ServerLevelAccessor,- WorldGenLevel
- All Known Implementing Classes:
- ClientLevel,- Level,- ServerLevel,- WorldGenRegion
- 
Field SummaryFields inherited from interface net.minecraft.world.level.SignalGetterDIRECTIONS
- 
Method SummaryModifier and TypeMethodDescriptiondefault <T extends BlockEntity>
 Optional<T>getBlockEntity(BlockPos p_151452_, BlockEntityType<T> p_151453_) default List<VoxelShape>getEntityCollisions(Entity p_186447_, AABB p_186448_) default BlockPosgetHeightmapPos(Heightmap.Types p_45831_, BlockPos p_45832_) default booleanisUnobstructed(Entity p_45828_, VoxelShape p_45829_) Methods inherited from interface net.minecraft.world.level.BlockAndTintGettercanSeeSky, getBrightness, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.level.BlockGetterclip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGettercollidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getWorldBorder, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.level.EntityGettergetEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer, playersMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtensiongetShadeMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtensiongetAuxLightManager, getAuxLightManager, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessorgetMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeightMethods inherited from interface net.minecraft.world.level.LevelReadercanSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, enabledFeatures, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunk, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAt, registryAccessMethods inherited from interface net.minecraft.world.level.LevelSimulatedReaderisFluidAtPosition, isStateAtPositionMethods inherited from interface net.minecraft.world.level.LevelWriteraddFreshEntity, destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlockMethods inherited from interface net.minecraft.world.level.SignalGettergetBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
- 
Method Details- 
getBlockEntitydefault <T extends BlockEntity> Optional<T> getBlockEntity(BlockPos p_151452_, BlockEntityType<T> p_151453_) - Specified by:
- getBlockEntityin interface- BlockGetter
- Specified by:
- getBlockEntityin interface- LevelSimulatedReader
 
- 
getEntityCollisions- Specified by:
- getEntityCollisionsin interface- CollisionGetter
- Specified by:
- getEntityCollisionsin interface- EntityGetter
 
- 
isUnobstructed- Specified by:
- isUnobstructedin interface- CollisionGetter
- Specified by:
- isUnobstructedin interface- EntityGetter
 
- 
getHeightmapPos- Specified by:
- getHeightmapPosin interface- LevelReader
- Specified by:
- getHeightmapPosin interface- LevelSimulatedReader
 
 
-