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 pos, Block block, Orientation orientation) voidServerLevel.neighborChanged(BlockState state, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston) voidServerLevel.updateNeighborsAt(BlockPos pos, Block block, Orientation orientation) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) -
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 level, BlockState state) Methods in net.minecraft.world.level.block with parameters of type OrientationModifier and TypeMethodDescriptionprotected voidAbstractSkullBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidBaseRailBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidBellBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidBigDripleafBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidCommandBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidCopperBulbBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidCrafterBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidDiodeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidDispenserBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidFenceGateBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidFrostedIceBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidHopperBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidLiquidBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidNoteBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidRedstoneLampBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidRedstoneTorchBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidRedStoneWireBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidSpongeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidStructureBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidTestBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidTntBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidTrapDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) 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 state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) protected voidPistonHeadBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) -
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 pos, Block neighborBlock, Orientation orientation) voidCollectingNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) voidInstantNeighborUpdater.neighborChanged(BlockPos pos, Block neighborBlock, Orientation orientation) voidInstantNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, Orientation orientation, boolean movedByPiston) 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 pos, Block block, Direction facing, Orientation orientation) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing, Orientation orientation) voidDefaultRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos pos, BlockState state, Orientation orientation, boolean updateShape) voidExperimentalRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos pos, BlockState state, Orientation orientation, boolean updateShape) 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.