Uses of Class
net.minecraft.world.level.redstone.Orientation
Packages that use Orientation
Package
Description
-
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 changedBlock, @Nullable Orientation orientation) voidServerLevel.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) voidServerLevel.updateNeighborsAt(BlockPos pos, Block sourceBlock, @Nullable Orientation orientation) voidServerLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockObject, Direction skipDirection, @Nullable Orientation orientation) -
Uses of Orientation in net.minecraft.util.debug
Fields in net.minecraft.util.debug with type parameters of type OrientationModifier and TypeFieldDescriptionstatic final DebugSubscription<Orientation> DebugSubscriptions.REDSTONE_WIRE_ORIENTATIONS -
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 changedBlock, @Nullable Orientation orientation) voidLevel.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) voidLevel.updateNeighborsAt(BlockPos pos, Block sourceBlock, @Nullable Orientation orientation) voidLevel.updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockObject, Direction skipDirection, @Nullable Orientation orientation) -
Uses of Orientation in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return OrientationModifier and TypeMethodDescriptionprotected @Nullable OrientationRedstoneTorchBlock.randomOrientation(Level level, BlockState state) protected @Nullable 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 block, @Nullable Orientation orientation, boolean movedByPiston) protected voidBaseRailBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidBellBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidBigDripleafBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidCommandBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidCopperBulbBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidCrafterBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidDiodeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidDispenserBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidFenceGateBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidFrostedIceBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidHopperBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidLiquidBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidNoteBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidRedstoneLampBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidRedstoneTorchBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidRedStoneWireBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidShelfBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidSpongeBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidStructureBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidTestBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidTntBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) protected voidTrapDoorBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) private voidRedStoneWireBlock.updatePowerStrength(Level level, BlockPos pos, BlockState state, @Nullable Orientation orientation, boolean shapeUpdateWiresAroundInitialPosition) -
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 block, @Nullable Orientation orientation, boolean movedByPiston) protected voidPistonHeadBlock.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable 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 block, @Nullable Orientation orientation, boolean movedByPiston) protected voidBlockBehaviour.neighborChanged(BlockState state, Level level, BlockPos pos, Block block, @Nullable 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 @Nullable OrientationCollectingNeighborUpdater.FullNeighborUpdate.orientationThe field for theorientationrecord component.private @Nullable OrientationCollectingNeighborUpdater.MultiNeighborUpdate.orientationprivate final @Nullable 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 self, Orientation[] lookup) private static OrientationExperimentalRedstoneWireEvaluator.getInitialOrientation(Level level, @Nullable Orientation incomingOrigination) static @Nullable OrientationExperimentalRedstoneUtils.initialOrientation(Level level, @Nullable Direction front, @Nullable Direction up) static OrientationOrientation.of(Direction up, Direction front, Orientation.SideBias sideBias) @Nullable OrientationCollectingNeighborUpdater.FullNeighborUpdate.orientation()Returns the value of theorientationrecord component.@Nullable OrientationCollectingNeighborUpdater.SimpleNeighborUpdate.orientation()Returns the value of theorientationrecord component.static OrientationOrientation.random(RandomSource rand) private static OrientationExperimentalRedstoneWireEvaluator.unpackOrientation(int packed) static @Nullable OrientationExperimentalRedstoneUtils.withFront(@Nullable Orientation orientation, Direction front) 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 initialPosition, Orientation initialOrientation) private voidExperimentalRedstoneWireEvaluator.enqueueNeighborWire(Level level, BlockPos pos, int newFromPower, Orientation orientation, boolean allowTurningOff) static voidNeighborUpdater.executeUpdate(Level level, BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) private static OrientationOrientation.generateContext(Orientation self, Orientation[] lookup) private static OrientationExperimentalRedstoneWireEvaluator.getInitialOrientation(Level level, @Nullable Orientation incomingOrigination) voidCollectingNeighborUpdater.neighborChanged(BlockPos pos, Block block, @Nullable Orientation orientation) voidCollectingNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) voidInstantNeighborUpdater.neighborChanged(BlockPos pos, Block changedBlock, @Nullable Orientation orientation) voidInstantNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) voidNeighborUpdater.neighborChanged(BlockPos pos, Block changedBlock, @Nullable Orientation orientation) voidNeighborUpdater.neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) private static intExperimentalRedstoneWireEvaluator.packOrientationAndPower(Orientation orientation, int power) private voidExperimentalRedstoneWireEvaluator.propagateChangeToNeighbors(Level level, BlockPos pos, int newPower, Orientation orientation, boolean allowTurningOff) private voidExperimentalRedstoneWireEvaluator.setPower(BlockPos pos, int newPower, Orientation orientation) voidCollectingNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, @Nullable Direction skipDirection, @Nullable Orientation orientation) default voidNeighborUpdater.updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, @Nullable Direction skipDirection, @Nullable Orientation orientation) voidDefaultRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos pos, BlockState state, @Nullable Orientation orientation, boolean skipShapeUpdates) voidExperimentalRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos initialPos, BlockState ignored, @Nullable Orientation orientation, boolean shapeUpdateWiresAroundInitialPosition) abstract voidRedstoneWireEvaluator.updatePowerStrength(Level level, BlockPos pos, BlockState state, @Nullable Orientation orientation, boolean skipShapeUpdates) static @Nullable OrientationExperimentalRedstoneUtils.withFront(@Nullable Orientation orientation, Direction front) Constructors in net.minecraft.world.level.redstone with parameters of type OrientationModifierConstructorDescription(package private)FullNeighborUpdate(BlockState state, BlockPos pos, Block block, @Nullable Orientation orientation, boolean movedByPiston) Creates an instance of aFullNeighborUpdaterecord class.(package private)MultiNeighborUpdate(BlockPos sourcePos, Block sourceBlock, @Nullable Orientation orientation, @Nullable Direction skipDirection) (package private)SimpleNeighborUpdate(BlockPos pos, Block block, @Nullable Orientation orientation) Creates an instance of aSimpleNeighborUpdaterecord class.