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 p_215036_, Block p_215037_, Orientation p_363242_) void
ServerLevel.neighborChanged
(BlockState p_362490_, BlockPos p_215048_, Block p_215049_, Orientation p_363197_, boolean p_365415_) void
ServerLevel.updateNeighborsAt
(BlockPos p_363893_, Block p_362383_, Orientation p_364696_) void
ServerLevel.updateNeighborsAtExceptFromFacing
(BlockPos p_215052_, Block p_215053_, Direction p_215054_, Orientation p_365231_) -
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 p_363049_, BlockState p_364776_) Methods in net.minecraft.world.level.block with parameters of type OrientationModifier and TypeMethodDescriptionprotected void
AbstractSkullBlock.neighborChanged
(BlockState p_301179_, Level p_301325_, BlockPos p_301085_, Block p_301182_, Orientation p_362711_, boolean p_300890_) protected void
BaseRailBlock.neighborChanged
(BlockState p_49377_, Level p_49378_, BlockPos p_49379_, Block p_49380_, Orientation p_361387_, boolean p_49382_) protected void
BellBlock.neighborChanged
(BlockState p_49729_, Level p_49730_, BlockPos p_49731_, Block p_49732_, Orientation p_363666_, boolean p_49734_) protected void
BigDripleafBlock.neighborChanged
(BlockState p_152271_, Level p_152272_, BlockPos p_152273_, Block p_152274_, Orientation p_364767_, boolean p_152276_) protected void
CommandBlock.neighborChanged
(BlockState p_51838_, Level p_51839_, BlockPos p_51840_, Block p_51841_, Orientation p_361514_, boolean p_51843_) protected void
CopperBulbBlock.neighborChanged
(BlockState p_309025_, Level p_308955_, BlockPos p_309153_, Block p_308949_, Orientation p_364418_, boolean p_309085_) protected void
CrafterBlock.neighborChanged
(BlockState p_307205_, Level p_307451_, BlockPos p_307272_, Block p_307542_, Orientation p_362007_, boolean p_307540_) protected void
DiodeBlock.neighborChanged
(BlockState p_52525_, Level p_52526_, BlockPos p_52527_, Block p_52528_, Orientation p_363074_, boolean p_52530_) protected void
DispenserBlock.neighborChanged
(BlockState p_52700_, Level p_52701_, BlockPos p_52702_, Block p_52703_, Orientation p_360855_, boolean p_52705_) protected void
DoorBlock.neighborChanged
(BlockState p_52776_, Level p_52777_, BlockPos p_52778_, Block p_52779_, Orientation p_361881_, boolean p_52781_) protected void
FenceGateBlock.neighborChanged
(BlockState p_53372_, Level p_53373_, BlockPos p_53374_, Block p_53375_, Orientation p_362989_, boolean p_53377_) protected void
FrostedIceBlock.neighborChanged
(BlockState p_53579_, Level p_53580_, BlockPos p_53581_, Block p_53582_, Orientation p_365079_, boolean p_53584_) protected void
HopperBlock.neighborChanged
(BlockState p_54078_, Level p_54079_, BlockPos p_54080_, Block p_54081_, Orientation p_361307_, boolean p_54083_) protected void
LiquidBlock.neighborChanged
(BlockState p_54709_, Level p_54710_, BlockPos p_54711_, Block p_54712_, Orientation p_361226_, boolean p_54714_) protected void
NoteBlock.neighborChanged
(BlockState p_55041_, Level p_55042_, BlockPos p_55043_, Block p_55044_, Orientation p_361888_, boolean p_55046_) protected void
RedstoneLampBlock.neighborChanged
(BlockState p_55666_, Level p_55667_, BlockPos p_55668_, Block p_55669_, Orientation p_364297_, boolean p_55671_) protected void
RedstoneTorchBlock.neighborChanged
(BlockState p_55699_, Level p_55700_, BlockPos p_55701_, Block p_55702_, Orientation p_362458_, boolean p_55704_) protected void
RedStoneWireBlock.neighborChanged
(BlockState p_55561_, Level p_55562_, BlockPos p_55563_, Block p_55564_, Orientation p_362973_, boolean p_55566_) protected void
SpongeBlock.neighborChanged
(BlockState p_56801_, Level p_56802_, BlockPos p_56803_, Block p_56804_, Orientation p_364278_, boolean p_56806_) protected void
StructureBlock.neighborChanged
(BlockState p_57135_, Level p_57136_, BlockPos p_57137_, Block p_57138_, Orientation p_364789_, boolean p_57140_) protected void
TestBlock.neighborChanged
(BlockState p_397457_, Level p_397572_, BlockPos p_397104_, Block p_397813_, Orientation p_397759_, boolean p_397459_) protected void
TntBlock.neighborChanged
(BlockState p_57457_, Level p_57458_, BlockPos p_57459_, Block p_57460_, Orientation p_364510_, boolean p_57462_) protected void
TrapDoorBlock.neighborChanged
(BlockState p_57547_, Level p_57548_, BlockPos p_57549_, Block p_57550_, Orientation p_364404_, boolean p_57552_) 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 p_60198_, Level p_60199_, BlockPos p_60200_, Block p_60201_, Orientation p_363070_, boolean p_60203_) protected void
PistonHeadBlock.neighborChanged
(BlockState p_60275_, Level p_60276_, BlockPos p_60277_, Block p_60278_, Orientation p_363965_, boolean p_60280_) -
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 pIndex) 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 p_230653_, Block p_230654_, Orientation p_360627_) void
CollectingNeighborUpdater.neighborChanged
(BlockState p_230647_, BlockPos p_230648_, Block p_230649_, Orientation p_363917_, boolean p_230651_) void
InstantNeighborUpdater.neighborChanged
(BlockPos p_230751_, Block p_230752_, Orientation p_364727_) void
InstantNeighborUpdater.neighborChanged
(BlockState p_230745_, BlockPos p_230746_, Block p_230747_, Orientation p_365054_, boolean p_230749_) 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 p_230657_, Block p_230658_, Direction p_230659_, Orientation p_365269_) default void
NeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos pPos, Block pBlock, Direction pFacing, Orientation pOrientation) void
DefaultRedstoneWireEvaluator.updatePowerStrength
(Level p_362666_, BlockPos p_365481_, BlockState p_361516_, Orientation p_362350_, boolean p_366607_) void
ExperimentalRedstoneWireEvaluator.updatePowerStrength
(Level p_364203_, BlockPos p_362182_, BlockState p_361454_, Orientation p_363673_, boolean p_366757_) 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.