Uses of Class
net.minecraft.world.block.WireOrientation
Package
Description
-
Uses of WireOrientation in net.minecraft.block
Modifier and TypeMethodDescriptionprotected @Nullable WireOrientation
RedstoneTorchBlock.getEmissionOrientation
(World world, BlockState state) protected @Nullable WireOrientation
WallRedstoneTorchBlock.getEmissionOrientation
(World world, BlockState state) Modifier and TypeMethodDescriptionvoid
AbstractBlock.AbstractBlockState.neighborUpdate
(World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) protected void
AbstractBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
AbstractRailBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
AbstractRedstoneGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
AbstractSkullBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
BellBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
BigDripleafBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
BulbBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
CommandBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
CrafterBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
DispenserBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
DoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
FenceGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
FluidBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
FrostedIceBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
HopperBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
NoteBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
PistonBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
PistonHeadBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
RedstoneLampBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
RedstoneTorchBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
RedstoneWireBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
SpongeBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
StructureBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
TntBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
TrapdoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.private void
RedstoneWireBlock.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) -
Uses of WireOrientation in net.minecraft.network.packet.s2c.custom
Modifier and TypeFieldDescriptionprivate final WireOrientation
DebugRedstoneUpdateOrderCustomPayload.Wire.orientation
The field for theorientation
record component.Modifier and TypeMethodDescriptionDebugRedstoneUpdateOrderCustomPayload.Wire.orientation()
Returns the value of theorientation
record component. -
Uses of WireOrientation in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerWorld.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
ServerWorld.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePos
atpos
.void
ServerWorld.updateNeighborsAlways
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos
.void
ServerWorld.updateNeighborsExcept
(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos
, except for the one indirection
direction. -
Uses of WireOrientation in net.minecraft.world
Modifier and TypeMethodDescriptionprivate static WireOrientation
ExperimentalRedstoneController.tweakOrientation
(World world, @Nullable WireOrientation orientation) private static WireOrientation
ExperimentalRedstoneController.unpackOrientation
(int packed) Modifier and TypeMethodDescriptionprivate static int
ExperimentalRedstoneController.packOrientationAndPower
(WireOrientation orientation, int power) private void
ExperimentalRedstoneController.propagatePowerUpdates
(World world, BlockPos pos, WireOrientation orientation) private void
ExperimentalRedstoneController.spreadPowerUpdateTo
(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) private void
ExperimentalRedstoneController.spreadPowerUpdateToNeighbors
(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) private static WireOrientation
ExperimentalRedstoneController.tweakOrientation
(World world, @Nullable WireOrientation orientation) void
DefaultRedstoneController.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) void
ExperimentalRedstoneController.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) abstract void
RedstoneController.update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) void
World.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
World.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePos
atpos
.void
World.updateNeighborsAlways
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos
.void
World.updateNeighborsExcept
(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos
, except for the one indirection
direction.private void
ExperimentalRedstoneController.updatePowerAt
(BlockPos pos, int power, WireOrientation defaultOrientation) -
Uses of WireOrientation in net.minecraft.world.block
Modifier and TypeFieldDescriptionprivate final @Nullable WireOrientation
ChainRestrictedNeighborUpdater.SimpleEntry.orientation
The field for theorientation
record component.private @Nullable WireOrientation
ChainRestrictedNeighborUpdater.SixWayEntry.orientation
private final @Nullable WireOrientation
ChainRestrictedNeighborUpdater.StatefulEntry.orientation
The field for theorientation
record component.private static final WireOrientation[]
WireOrientation.VALUES
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, WireOrientation> WireOrientation.PACKET_CODEC
private final Map
<Direction, WireOrientation> WireOrientation.siblingsByFront
private final Map
<WireOrientation.SideBias, WireOrientation> WireOrientation.siblingsBySideBias
private final Map
<Direction, WireOrientation> WireOrientation.siblingsByUp
Modifier and TypeMethodDescriptionstatic WireOrientation
WireOrientation.fromOrdinal
(int ordinal) static @Nullable WireOrientation
OrientationHelper.getEmissionOrientation
(World world, @Nullable Direction up, @Nullable Direction front) private static WireOrientation
WireOrientation.initializeValuesArray
(WireOrientation prime, WireOrientation[] valuesOut) static WireOrientation
WireOrientation.of
(Direction up, Direction front, WireOrientation.SideBias sideBias) ChainRestrictedNeighborUpdater.SimpleEntry.orientation()
Returns the value of theorientation
record component.ChainRestrictedNeighborUpdater.StatefulEntry.orientation()
Returns the value of theorientation
record component.static WireOrientation
WireOrientation.withFrontAndSideBias
(Direction direction) WireOrientation.withFrontIfNotUp
(Direction direction) static @Nullable WireOrientation
OrientationHelper.withFrontNullable
(@Nullable WireOrientation orientation, Direction direction) WireOrientation.withOppositeSideBias()
WireOrientation.withSideBias
(WireOrientation.SideBias sideBias) Modifier and TypeMethodDescriptionprivate static WireOrientation
WireOrientation.initializeValuesArray
(WireOrientation prime, WireOrientation[] valuesOut) static void
NeighborUpdater.tryNeighborUpdate
(World world, BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
ChainRestrictedNeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
ChainRestrictedNeighborUpdater.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) void
NeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
NeighborUpdater.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) void
SimpleNeighborUpdater.updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) void
SimpleNeighborUpdater.updateNeighbor
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) void
ChainRestrictedNeighborUpdater.updateNeighbors
(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) default void
NeighborUpdater.updateNeighbors
(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) static @Nullable WireOrientation
OrientationHelper.withFrontNullable
(@Nullable WireOrientation orientation, Direction direction) ModifierConstructorDescription(package private)
SimpleEntry
(BlockPos blockPos, Block block, @Nullable WireOrientation wireOrientation) (package private)
SixWayEntry
(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, @Nullable Direction except) (package private)
StatefulEntry
(BlockState blockState, BlockPos blockPos, Block block, @Nullable WireOrientation wireOrientation, boolean bool)