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 OrientationRedstoneWireOrientationsDebugPayload.Wire.orientationThe field for theorientationrecord component.Methods in net.minecraft.network.protocol.common.custom that return OrientationModifier and TypeMethodDescriptionRedstoneWireOrientationsDebugPayload.Wire.orientation()Returns the value of theorientationrecord component.Constructors in net.minecraft.network.protocol.common.custom with parameters of type OrientationModifierConstructorDescriptionWire(BlockPos pos, Orientation orientation) Creates an instance of aWirerecord class. -
Uses of Orientation in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type OrientationModifier and TypeMethodDescriptionvoidServerLevel.neighborChanged(BlockPos p_215036_, Block p_215037_, Orientation p_363242_) voidServerLevel.neighborChanged(BlockState p_362490_, BlockPos p_215048_, Block p_215049_, Orientation p_363197_, boolean p_365415_) voidServerLevel.updateNeighborsAt(BlockPos p_363893_, Block p_362383_, Orientation p_364696_) voidServerLevel.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 TypeMethodDescriptionvoidLevel.neighborChanged(BlockPos pos, Block block, Orientation orientation) voidLevel.neighborChanged(BlockState state, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston) voidLevel.updateNeighborsAt(BlockPos pos, Block block, Orientation orientation) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) -
Uses of Orientation in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return OrientationModifier and TypeMethodDescriptionprotected OrientationRedstoneTorchBlock.randomOrientation(Level level, BlockState state) protected OrientationRedstoneWallTorchBlock.randomOrientation(Level p_363049_, BlockState p_364776_) Methods in net.minecraft.world.level.block with parameters of type OrientationModifier and TypeMethodDescriptionprotected voidAbstractSkullBlock.neighborChanged(BlockState p_301179_, Level p_301325_, BlockPos p_301085_, Block p_301182_, Orientation p_362711_, boolean p_300890_) protected voidBaseRailBlock.neighborChanged(BlockState p_49377_, Level p_49378_, BlockPos p_49379_, Block p_49380_, Orientation p_361387_, boolean p_49382_) protected voidBellBlock.neighborChanged(BlockState p_49729_, Level p_49730_, BlockPos p_49731_, Block p_49732_, Orientation p_363666_, boolean p_49734_) protected voidBigDripleafBlock.neighborChanged(BlockState p_152271_, Level p_152272_, BlockPos p_152273_, Block p_152274_, Orientation p_364767_, boolean p_152276_) protected voidCommandBlock.neighborChanged(BlockState p_51838_, Level p_51839_, BlockPos p_51840_, Block p_51841_, Orientation p_361514_, boolean p_51843_) protected voidCopperBulbBlock.neighborChanged(BlockState p_309025_, Level p_308955_, BlockPos p_309153_, Block p_308949_, Orientation p_364418_, boolean p_309085_) protected voidCrafterBlock.neighborChanged(BlockState p_307205_, Level p_307451_, BlockPos p_307272_, Block p_307542_, Orientation p_362007_, boolean p_307540_) protected voidDiodeBlock.neighborChanged(BlockState p_52525_, Level p_52526_, BlockPos p_52527_, Block p_52528_, Orientation p_363074_, boolean p_52530_) protected voidDispenserBlock.neighborChanged(BlockState p_52700_, Level p_52701_, BlockPos p_52702_, Block p_52703_, Orientation p_360855_, boolean p_52705_) protected voidDoorBlock.neighborChanged(BlockState p_52776_, Level p_52777_, BlockPos p_52778_, Block p_52779_, Orientation p_361881_, boolean p_52781_) protected voidFenceGateBlock.neighborChanged(BlockState p_53372_, Level p_53373_, BlockPos p_53374_, Block p_53375_, Orientation p_362989_, boolean p_53377_) protected voidFrostedIceBlock.neighborChanged(BlockState p_53579_, Level p_53580_, BlockPos p_53581_, Block p_53582_, Orientation p_365079_, boolean p_53584_) protected voidHopperBlock.neighborChanged(BlockState p_54078_, Level p_54079_, BlockPos p_54080_, Block p_54081_, Orientation p_361307_, boolean p_54083_) protected voidLiquidBlock.neighborChanged(BlockState p_54709_, Level p_54710_, BlockPos p_54711_, Block p_54712_, Orientation p_361226_, boolean p_54714_) protected voidNoteBlock.neighborChanged(BlockState p_55041_, Level p_55042_, BlockPos p_55043_, Block p_55044_, Orientation p_361888_, boolean p_55046_) protected voidRedstoneLampBlock.neighborChanged(BlockState p_55666_, Level p_55667_, BlockPos p_55668_, Block p_55669_, Orientation p_364297_, boolean p_55671_) protected voidRedstoneTorchBlock.neighborChanged(BlockState p_55699_, Level p_55700_, BlockPos p_55701_, Block p_55702_, Orientation p_362458_, boolean p_55704_) protected voidRedStoneWireBlock.neighborChanged(BlockState p_55561_, Level p_55562_, BlockPos p_55563_, Block p_55564_, Orientation p_362973_, boolean p_55566_) protected voidSpongeBlock.neighborChanged(BlockState p_56801_, Level p_56802_, BlockPos p_56803_, Block p_56804_, Orientation p_364278_, boolean p_56806_) protected voidStructureBlock.neighborChanged(BlockState p_57135_, Level p_57136_, BlockPos p_57137_, Block p_57138_, Orientation p_364789_, boolean p_57140_) protected voidTestBlock.neighborChanged(BlockState p_397457_, Level p_397572_, BlockPos p_397104_, Block p_397813_, Orientation p_397759_, boolean p_397459_) protected voidTntBlock.neighborChanged(BlockState p_57457_, Level p_57458_, BlockPos p_57459_, Block p_57460_, Orientation p_364510_, boolean p_57462_) protected voidTrapDoorBlock.neighborChanged(BlockState p_57547_, Level p_57548_, BlockPos p_57549_, Block p_57550_, Orientation p_364404_, boolean p_57552_) private voidRedStoneWireBlock.updatePowerStrength(Level level, BlockPos pos, BlockState state, Orientation orientation, boolean updateShape) -
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 voidPistonBaseBlock.neighborChanged(BlockState p_60198_, Level p_60199_, BlockPos p_60200_, Block p_60201_, Orientation p_363070_, boolean p_60203_) protected voidPistonHeadBlock.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 TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.handleNeighborChanged(Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidBlockBehaviour.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) -
Uses of Orientation in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as OrientationModifier and TypeFieldDescriptionprivate final OrientationCollectingNeighborUpdater.FullNeighborUpdate.orientationThe field for theorientationrecord component.private OrientationCollectingNeighborUpdater.MultiNeighborUpdate.orientationprivate final OrientationCollectingNeighborUpdater.SimpleNeighborUpdate.orientationThe field for theorientationrecord component.private static final Orientation[]Orientation.ORIENTATIONSFields in net.minecraft.world.level.redstone with type parameters of type OrientationModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Orientation> Orientation.STREAM_CODECprivate final Map<Direction, Orientation> Orientation.withFrontprivate final Map<Orientation.SideBias, Orientation> Orientation.withSideBiasprivate final Map<Direction, Orientation> Orientation.withUpMethods in net.minecraft.world.level.redstone that return OrientationModifier and TypeMethodDescriptionstatic OrientationOrientation.fromIndex(int index) private static OrientationOrientation.generateContext(Orientation start, Orientation[] output) private static OrientationExperimentalRedstoneWireEvaluator.getInitialOrientation(Level level, Orientation orientation) static OrientationExperimentalRedstoneUtils.initialOrientation(Level level, Direction front, Direction up) static OrientationOrientation.of(Direction up, Direction front, Orientation.SideBias sideBias) CollectingNeighborUpdater.FullNeighborUpdate.orientation()Returns the value of theorientationrecord component.CollectingNeighborUpdater.SimpleNeighborUpdate.orientation()Returns the value of theorientationrecord component.static OrientationOrientation.random(RandomSource random) private static OrientationExperimentalRedstoneWireEvaluator.unpackOrientation(int data) static OrientationExperimentalRedstoneUtils.withFront(Orientation orientation, Direction direction) Orientation.withFrontAdjustSideBias(Direction front) Orientation.withFrontPreserveUp(Direction front) Orientation.withMirror()Orientation.withSideBias(Orientation.SideBias sideBias) Methods in net.minecraft.world.level.redstone with parameters of type OrientationModifier and TypeMethodDescriptionprivate voidExperimentalRedstoneWireEvaluator.calculateCurrentChanges(Level level, BlockPos pos, Orientation orientation) private voidExperimentalRedstoneWireEvaluator.enqueueNeighborWire(Level level, BlockPos pos, int power, Orientation orientation, boolean canTurnOff) static voidNeighborUpdater.executeUpdate(Level level, BlockState state, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) private static OrientationOrientation.generateContext(Orientation start, Orientation[] output) private static OrientationExperimentalRedstoneWireEvaluator.getInitialOrientation(Level level, Orientation orientation) voidCollectingNeighborUpdater.neighborChanged(BlockPos p_230653_, Block p_230654_, Orientation p_360627_) voidCollectingNeighborUpdater.neighborChanged(BlockState p_230647_, BlockPos p_230648_, Block p_230649_, Orientation p_363917_, boolean p_230651_) voidInstantNeighborUpdater.neighborChanged(BlockPos p_230751_, Block p_230752_, Orientation p_364727_) voidInstantNeighborUpdater.neighborChanged(BlockState p_230745_, BlockPos p_230746_, Block p_230747_, Orientation p_365054_, boolean p_230749_) voidNeighborUpdater.neighborChanged(BlockPos pos, Block neighborBlock, Orientation orientation) voidNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) private static intExperimentalRedstoneWireEvaluator.packOrientationAndPower(Orientation orientation, int power) private voidExperimentalRedstoneWireEvaluator.propagateChangeToNeighbors(Level level, BlockPos pos, int power, Orientation orientation, boolean canTurnOff) private voidExperimentalRedstoneWireEvaluator.setPower(BlockPos pos, int power, Orientation orientation) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos p_230657_, Block p_230658_, Direction p_230659_, Orientation p_365269_) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) voidDefaultRedstoneWireEvaluator.updatePowerStrength(Level p_362666_, BlockPos p_365481_, BlockState p_361516_, Orientation p_362350_, boolean p_366607_) voidExperimentalRedstoneWireEvaluator.updatePowerStrength(Level p_364203_, BlockPos p_362182_, BlockState p_361454_, Orientation p_363673_, boolean p_366757_) abstract voidRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos pos, BlockState state, Orientation orientation, boolean updateShape) static OrientationExperimentalRedstoneUtils.withFront(Orientation orientation, Direction direction) 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 aFullNeighborUpdaterecord class.(package private)MultiNeighborUpdate(BlockPos sourcePos, Block sourceBlock, Orientation orientation, Direction skipDirection) (package private)SimpleNeighborUpdate(BlockPos pos, Block block, Orientation orientation) Creates an instance of aSimpleNeighborUpdaterecord class.