Package net.minecraft.world.level
Interface LevelSimulatedReader
- All Known Subinterfaces:
CommonLevelAccessor
,LevelAccessor
,LevelSimulatedRW
,ServerLevelAccessor
,WorldGenLevel
- All Known Implementing Classes:
ClientLevel
,Level
,ServerLevel
,WorldGenRegion
public interface LevelSimulatedReader
-
Method Summary
Modifier and TypeMethodDescription<T extends BlockEntity>
Optional<T> getBlockEntity
(BlockPos p_151582_, BlockEntityType<T> p_151583_) getHeightmapPos
(Heightmap.Types p_46936_, BlockPos p_46937_) boolean
isFluidAtPosition
(BlockPos p_151584_, Predicate<FluidState> p_151585_) boolean
isStateAtPosition
(BlockPos p_46938_, Predicate<BlockState> p_46939_)
-
Method Details
-
isStateAtPosition
-
isFluidAtPosition
-
getBlockEntity
<T extends BlockEntity> Optional<T> getBlockEntity(BlockPos p_151582_, BlockEntityType<T> p_151583_) -
getHeightmapPos
-