Uses of Class
net.minecraft.world.level.redstone.Orientation
Packages that use Orientation
Package
Description
-
Uses of Orientation in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as OrientationModifier and TypeFieldDescriptionprivate final Orientation
RedstoneWireOrientationsDebugPayload.Wire.orientation
The field for theorientation
record component.Methods in net.minecraft.network.protocol.common.custom that return OrientationModifier and TypeMethodDescriptionRedstoneWireOrientationsDebugPayload.Wire.orientation()
Returns the value of theorientation
record component.Constructors in net.minecraft.network.protocol.common.custom with parameters of type OrientationModifierConstructorDescriptionWire
(BlockPos pos, Orientation orientation) Creates an instance of aWire
record class. -
Uses of Orientation in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type OrientationModifier and TypeMethodDescriptionvoid
ServerLevel.neighborChanged
(BlockPos pPos, Block pBlock, Orientation pOrientation) void
ServerLevel.neighborChanged
(BlockState pState, BlockPos pPos, Block pBlock, Orientation pOrientation, boolean pMovedByPiston) void
ServerLevel.updateNeighborsAt
(BlockPos pPos, Block pBlock, Orientation pOrientation) void
ServerLevel.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) -
Uses of Orientation in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type OrientationModifier and TypeMethodDescriptionvoid
Level.neighborChanged
(BlockPos pPos, Block pBlock, Orientation pOrientation) void
Level.neighborChanged
(BlockState pState, BlockPos pPos, Block pBlock, Orientation pOrientation, boolean pMovedByPiston) void
Level.updateNeighborsAt
(BlockPos pPos, Block pBlock, Orientation pOrientation) void
Level.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) -
Uses of Orientation in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return OrientationModifier and TypeMethodDescriptionprotected Orientation
RedstoneTorchBlock.randomOrientation
(Level pLevel, BlockState pState) protected Orientation
RedstoneWallTorchBlock.randomOrientation
(Level pLevel, BlockState pState) Methods in net.minecraft.world.level.block with parameters of type OrientationModifier and TypeMethodDescriptionprotected void
AbstractSkullBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BaseRailBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BellBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BigDripleafBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CommandBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CopperBulbBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
CrafterBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DiodeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DispenserBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
DoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
FenceGateBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
FrostedIceBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
HopperBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
LiquidBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
NoteBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedstoneLampBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedstoneTorchBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
RedStoneWireBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
SpongeBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
StructureBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TestBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TntBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
TrapDoorBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) private void
RedStoneWireBlock.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) -
Uses of Orientation in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type OrientationModifier and TypeMethodDescriptionprotected void
PistonBaseBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
PistonHeadBlock.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) -
Uses of Orientation in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type OrientationModifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.handleNeighborChanged
(Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) protected void
BlockBehaviour.neighborChanged
(BlockState pState, Level pLevel, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) -
Uses of Orientation in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as OrientationModifier and TypeFieldDescriptionprivate final Orientation
CollectingNeighborUpdater.FullNeighborUpdate.orientation
The field for theorientation
record component.private Orientation
CollectingNeighborUpdater.MultiNeighborUpdate.orientation
private final Orientation
CollectingNeighborUpdater.SimpleNeighborUpdate.orientation
The field for theorientation
record component.private static final Orientation[]
Orientation.ORIENTATIONS
Fields in net.minecraft.world.level.redstone with type parameters of type OrientationModifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, Orientation> Orientation.STREAM_CODEC
private final Map
<Direction, Orientation> Orientation.withFront
private final Map
<Orientation.SideBias, Orientation> Orientation.withSideBias
private final Map
<Direction, Orientation> Orientation.withUp
Methods in net.minecraft.world.level.redstone that return OrientationModifier and TypeMethodDescriptionstatic Orientation
Orientation.fromIndex
(int p_360364_) private static Orientation
Orientation.generateContext
(Orientation pStart, Orientation[] pOutput) private static Orientation
ExperimentalRedstoneWireEvaluator.getInitialOrientation
(Level pLevel, Orientation pOrientation) static Orientation
ExperimentalRedstoneUtils.initialOrientation
(Level pLevel, Direction pFront, Direction pUp) static Orientation
Orientation.of
(Direction pUp, Direction pFront, Orientation.SideBias pSideBias) CollectingNeighborUpdater.FullNeighborUpdate.orientation()
Returns the value of theorientation
record component.CollectingNeighborUpdater.SimpleNeighborUpdate.orientation()
Returns the value of theorientation
record component.static Orientation
Orientation.random
(RandomSource pRandom) private static Orientation
ExperimentalRedstoneWireEvaluator.unpackOrientation
(int pData) static Orientation
ExperimentalRedstoneUtils.withFront
(Orientation pOrientation, Direction pDirection) Orientation.withFrontAdjustSideBias
(Direction pFront) Orientation.withFrontPreserveUp
(Direction pFront) Orientation.withMirror()
Orientation.withSideBias
(Orientation.SideBias pSideBias) Methods in net.minecraft.world.level.redstone with parameters of type OrientationModifier and TypeMethodDescriptionprivate void
ExperimentalRedstoneWireEvaluator.calculateCurrentChanges
(Level pLevel, BlockPos pPos, Orientation pOrientation) private void
ExperimentalRedstoneWireEvaluator.enqueueNeighborWire
(Level pLevel, BlockPos pPos, int pPower, Orientation pOrientation, boolean pCanTurnOff) static void
NeighborUpdater.executeUpdate
(Level pLevel, BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) private static Orientation
Orientation.generateContext
(Orientation pStart, Orientation[] pOutput) private static Orientation
ExperimentalRedstoneWireEvaluator.getInitialOrientation
(Level pLevel, Orientation pOrientation) void
CollectingNeighborUpdater.neighborChanged
(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) void
CollectingNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
InstantNeighborUpdater.neighborChanged
(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) void
InstantNeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
NeighborUpdater.neighborChanged
(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) void
NeighborUpdater.neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) private static int
ExperimentalRedstoneWireEvaluator.packOrientationAndPower
(Orientation pOrientation, int pPower) private void
ExperimentalRedstoneWireEvaluator.propagateChangeToNeighbors
(Level pLevel, BlockPos pPos, int pPower, Orientation pOrientation, boolean pCanTurnOff) private void
ExperimentalRedstoneWireEvaluator.setPower
(BlockPos pPos, int pPower, Orientation pOrientation) void
CollectingNeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) default void
NeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) void
DefaultRedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) void
ExperimentalRedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) abstract void
RedstoneWireEvaluator.updatePowerStrength
(Level pLevel, BlockPos pPos, BlockState pState, Orientation pOrientation, boolean pUpdateShape) static Orientation
ExperimentalRedstoneUtils.withFront
(Orientation pOrientation, Direction pDirection) Constructors in net.minecraft.world.level.redstone with parameters of type OrientationModifierConstructorDescription(package private)
FullNeighborUpdate
(BlockState state, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston) Creates an instance of aFullNeighborUpdate
record class.(package private)
MultiNeighborUpdate
(BlockPos pSourcePos, Block pSourceBlock, Orientation pOrientation, Direction pSkipDirection) (package private)
SimpleNeighborUpdate
(BlockPos pos, Block block, Orientation orientation) Creates an instance of aSimpleNeighborUpdate
record class.