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 p_220380_, Block p_220381_, Orientation p_361509_) void
Level.neighborChanged
(BlockState p_361138_, BlockPos p_46587_, Block p_46588_, Orientation p_362276_, boolean p_361335_) void
Level.updateNeighborsAt
(BlockPos p_365514_, Block p_364886_, Orientation p_363337_) void
Level.updateNeighborsAtExceptFromFacing
(BlockPos p_46591_, Block p_46592_, Direction p_46593_, Orientation p_362952_) -
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 p_361710_, BlockState p_365031_) 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 p_55531_, BlockPos p_55532_, BlockState p_55533_, Orientation p_362758_, boolean p_366538_) -
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 p_60691_, BlockPos p_60692_, Block p_60693_, Orientation p_364063_, boolean p_60695_) protected void
BlockBehaviour.neighborChanged
(BlockState p_60509_, Level p_60510_, BlockPos p_60511_, Block p_60512_, Orientation p_365159_, boolean p_60514_) -
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 p_360409_, Orientation[] p_363858_) private static Orientation
ExperimentalRedstoneWireEvaluator.getInitialOrientation
(Level p_363526_, Orientation p_363389_) static Orientation
ExperimentalRedstoneUtils.initialOrientation
(Level p_366754_, Direction p_366872_, Direction p_366796_) static Orientation
Orientation.of
(Direction p_364419_, Direction p_364902_, Orientation.SideBias p_361055_) 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 p_362443_) private static Orientation
ExperimentalRedstoneWireEvaluator.unpackOrientation
(int p_361592_) static Orientation
ExperimentalRedstoneUtils.withFront
(Orientation p_361215_, Direction p_362021_) Orientation.withFrontAdjustSideBias
(Direction p_360736_) Orientation.withFrontPreserveUp
(Direction p_366441_) Orientation.withMirror()
Orientation.withSideBias
(Orientation.SideBias p_361549_) Methods in net.minecraft.world.level.redstone with parameters of type OrientationModifier and TypeMethodDescriptionprivate void
ExperimentalRedstoneWireEvaluator.calculateCurrentChanges
(Level p_361794_, BlockPos p_363346_, Orientation p_362683_) private void
ExperimentalRedstoneWireEvaluator.enqueueNeighborWire
(Level p_361921_, BlockPos p_361620_, int p_361312_, Orientation p_364781_, boolean p_363545_) static void
NeighborUpdater.executeUpdate
(Level p_230764_, BlockState p_230765_, BlockPos p_230766_, Block p_230767_, Orientation p_362612_, boolean p_230769_) private static Orientation
Orientation.generateContext
(Orientation p_360409_, Orientation[] p_363858_) private static Orientation
ExperimentalRedstoneWireEvaluator.getInitialOrientation
(Level p_363526_, Orientation p_363389_) 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 p_230785_, Block p_230786_, Orientation p_365186_) void
NeighborUpdater.neighborChanged
(BlockState p_230780_, BlockPos p_230781_, Block p_230782_, Orientation p_361836_, boolean p_230784_) private static int
ExperimentalRedstoneWireEvaluator.packOrientationAndPower
(Orientation p_363227_, int p_364958_) private void
ExperimentalRedstoneWireEvaluator.propagateChangeToNeighbors
(Level p_363529_, BlockPos p_364797_, int p_360356_, Orientation p_361821_, boolean p_363868_) private void
ExperimentalRedstoneWireEvaluator.setPower
(BlockPos p_364897_, int p_364699_, Orientation p_364501_) void
CollectingNeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos p_230657_, Block p_230658_, Direction p_230659_, Orientation p_365269_) default void
NeighborUpdater.updateNeighborsAtExceptFromFacing
(BlockPos p_230788_, Block p_230789_, Direction p_230790_, Orientation p_365241_) 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 p_360870_, BlockPos p_363381_, BlockState p_360579_, Orientation p_362766_, boolean p_366826_) static Orientation
ExperimentalRedstoneUtils.withFront
(Orientation p_361215_, Direction p_362021_) 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 p_230697_, Block p_230698_, Orientation p_362762_, Direction p_230699_) (package private)
SimpleNeighborUpdate
(BlockPos pos, Block block, Orientation orientation) Creates an instance of aSimpleNeighborUpdate
record class.