Uses of Class
net.minecraft.world.block.WireOrientation
Packages that use WireOrientation
Package
Description
-
Uses of WireOrientation in net.minecraft.block
Methods in net.minecraft.block that return WireOrientationModifier and TypeMethodDescriptionprotected @Nullable WireOrientationRedstoneTorchBlock.getEmissionOrientation(World world, BlockState state) protected @Nullable WireOrientationWallRedstoneTorchBlock.getEmissionOrientation(World world, BlockState state) Methods in net.minecraft.block with parameters of type WireOrientationModifier and TypeMethodDescriptionvoidAbstractBlock.AbstractBlockState.neighborUpdate(World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) protected voidAbstractBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidAbstractRailBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidAbstractRedstoneGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidAbstractSkullBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidBellBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidBigDripleafBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidBulbBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidCommandBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidCrafterBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidDispenserBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidDoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidFenceGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidFluidBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidFrostedIceBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidHopperBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidNoteBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidPistonBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidPistonHeadBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidRedstoneLampBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidRedstoneTorchBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidRedstoneWireBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidSpongeBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidStructureBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidTestBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidTntBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidTrapdoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.private voidRedstoneWireBlock.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) -
Uses of WireOrientation in net.minecraft.network.packet.s2c.custom
Fields in net.minecraft.network.packet.s2c.custom declared as WireOrientationModifier and TypeFieldDescriptionprivate final WireOrientationDebugRedstoneUpdateOrderCustomPayload.Wire.orientationThe field for theorientationrecord component.Methods in net.minecraft.network.packet.s2c.custom that return WireOrientationModifier and TypeMethodDescriptionDebugRedstoneUpdateOrderCustomPayload.Wire.orientation()Returns the value of theorientationrecord component.Constructors in net.minecraft.network.packet.s2c.custom with parameters of type WireOrientation -
Uses of WireOrientation in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type WireOrientationModifier and TypeMethodDescriptionvoidServerWorld.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) voidServerWorld.updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePosatpos.voidServerWorld.updateNeighborsAlways(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos.voidServerWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection. -
Uses of WireOrientation in net.minecraft.world
Methods in net.minecraft.world that return WireOrientationModifier and TypeMethodDescriptionprivate static WireOrientationExperimentalRedstoneController.tweakOrientation(World world, @Nullable WireOrientation orientation) private static WireOrientationExperimentalRedstoneController.unpackOrientation(int packed) Methods in net.minecraft.world with parameters of type WireOrientationModifier and TypeMethodDescriptionprivate static intExperimentalRedstoneController.packOrientationAndPower(WireOrientation orientation, int power) private voidExperimentalRedstoneController.propagatePowerUpdates(World world, BlockPos pos, WireOrientation orientation) private voidExperimentalRedstoneController.spreadPowerUpdateTo(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) private voidExperimentalRedstoneController.spreadPowerUpdateToNeighbors(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) private static WireOrientationExperimentalRedstoneController.tweakOrientation(World world, @Nullable WireOrientation orientation) voidDefaultRedstoneController.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) voidExperimentalRedstoneController.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) abstract voidRedstoneController.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) voidWorld.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) voidWorld.updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePosatpos.voidWorld.updateNeighborsAlways(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos.voidWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection.private voidExperimentalRedstoneController.updatePowerAt(BlockPos pos, int power, WireOrientation defaultOrientation) -
Uses of WireOrientation in net.minecraft.world.block
Fields in net.minecraft.world.block declared as WireOrientationModifier and TypeFieldDescriptionprivate final @Nullable WireOrientationChainRestrictedNeighborUpdater.SimpleEntry.orientationThe field for theorientationrecord component.private @Nullable WireOrientationChainRestrictedNeighborUpdater.SixWayEntry.orientationprivate final @Nullable WireOrientationChainRestrictedNeighborUpdater.StatefulEntry.orientationThe field for theorientationrecord component.private static final WireOrientation[]WireOrientation.VALUESFields in net.minecraft.world.block with type parameters of type WireOrientationModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf, WireOrientation> WireOrientation.PACKET_CODECprivate final Map<Direction, WireOrientation> WireOrientation.siblingsByFrontprivate final Map<WireOrientation.SideBias, WireOrientation> WireOrientation.siblingsBySideBiasprivate final Map<Direction, WireOrientation> WireOrientation.siblingsByUpMethods in net.minecraft.world.block that return WireOrientationModifier and TypeMethodDescriptionstatic WireOrientationWireOrientation.fromOrdinal(int ordinal) static @Nullable WireOrientationOrientationHelper.getEmissionOrientation(World world, @Nullable Direction up, @Nullable Direction front) private static WireOrientationWireOrientation.initializeValuesArray(WireOrientation prime, WireOrientation[] valuesOut) static WireOrientationWireOrientation.of(Direction up, Direction front, WireOrientation.SideBias sideBias) ChainRestrictedNeighborUpdater.SimpleEntry.orientation()Returns the value of theorientationrecord component.ChainRestrictedNeighborUpdater.StatefulEntry.orientation()Returns the value of theorientationrecord component.static WireOrientationWireOrientation.withFrontAndSideBias(Direction direction) WireOrientation.withFrontIfNotUp(Direction direction) static @Nullable WireOrientationOrientationHelper.withFrontNullable(@Nullable WireOrientation orientation, Direction direction) WireOrientation.withOppositeSideBias()WireOrientation.withSideBias(WireOrientation.SideBias sideBias) Methods in net.minecraft.world.block with parameters of type WireOrientationModifier and TypeMethodDescriptionprivate static WireOrientationWireOrientation.initializeValuesArray(WireOrientation prime, WireOrientation[] valuesOut) static voidNeighborUpdater.tryNeighborUpdate(World world, BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) voidChainRestrictedNeighborUpdater.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) voidChainRestrictedNeighborUpdater.updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) voidNeighborUpdater.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) voidNeighborUpdater.updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) voidSimpleNeighborUpdater.updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) voidSimpleNeighborUpdater.updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) voidChainRestrictedNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) default voidNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) static @Nullable WireOrientationOrientationHelper.withFrontNullable(@Nullable WireOrientation orientation, Direction direction) Constructors in net.minecraft.world.block with parameters of type WireOrientationModifierConstructorDescription(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)