Package net.minecraft.world.level
Interface SignalGetter
- All Superinterfaces:
BlockGetter
,IForgeBlockGetter
,LevelHeightAccessor
- All Known Subinterfaces:
CommonLevelAccessor
,LevelAccessor
,LevelReader
,LevelTimeAccess
,ServerLevelAccessor
,WorldGenLevel
- All Known Implementing Classes:
ClientLevel
,Level
,ServerLevel
,WorldGenRegion
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getBestNeighborSignal
(BlockPos p_277977_) default int
getControlInputSignal
(BlockPos p_277757_, Direction p_278104_, boolean p_277707_) default int
getDirectSignal
(BlockPos p_277954_, Direction p_277342_) default int
getDirectSignalTo
(BlockPos p_277959_) default int
default boolean
hasNeighborSignal
(BlockPos p_277626_) default boolean
Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLine
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManager
Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getHeight, getMaxBuildHeight, getMaxSection, getMinBuildHeight, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
DIRECTIONS
-
-
Method Details
-
getDirectSignal
-
getDirectSignalTo
-
getControlInputSignal
-
hasSignal
-
getSignal
-
hasNeighborSignal
-
getBestNeighborSignal
-