Class DefaultRedstoneWireEvaluator
java.lang.Object
net.minecraft.world.level.redstone.RedstoneWireEvaluator
net.minecraft.world.level.redstone.DefaultRedstoneWireEvaluator
-
Field Summary
Fields inherited from class net.minecraft.world.level.redstone.RedstoneWireEvaluator
wireBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
calculateTargetStrength
(Level pLevel, BlockPos pPos) void
updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) Methods inherited from class net.minecraft.world.level.redstone.RedstoneWireEvaluator
getBlockSignal, getIncomingWireSignal, getWireSignal
-
Constructor Details
-
DefaultRedstoneWireEvaluator
-
-
Method Details
-
updatePowerStrength
public void updatePowerStrength(Level pLevel, BlockPos pPos, BlockState pState, @Nullable Orientation pOrientation, boolean pUpdateShape) - Specified by:
updatePowerStrength
in classRedstoneWireEvaluator
-
calculateTargetStrength
-