Package net.minecraft.world
Class ExperimentalRedstoneController
java.lang.Object
net.minecraft.world.RedstoneController
net.minecraft.world.ExperimentalRedstoneController
- Mappings:
Namespace Name named net/minecraft/world/ExperimentalRedstoneController
intermediary net/minecraft/class_9903
official evb
-
Field Summary
Fields inherited from class net.minecraft.world.RedstoneController
wire
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
canProvidePowerTo
(BlockState wireState, Direction direction) protected int
getWirePowerAt
(BlockPos world, BlockState pos) private static int
packOrientationAndPower
(WireOrientation orientation, int power) private void
propagatePowerUpdates
(World world, BlockPos pos, WireOrientation orientation) private void
spreadPowerUpdateTo
(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) private void
spreadPowerUpdateToNeighbors
(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) private static WireOrientation
tweakOrientation
(World world, @Nullable WireOrientation orientation) private static WireOrientation
unpackOrientation
(int packed) private static int
unpackPower
(int packed) private void
void
update
(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) private void
updatePowerAt
(BlockPos pos, int power, WireOrientation defaultOrientation) Methods inherited from class net.minecraft.world.RedstoneController
calculateWirePowerAt, getStrongPowerAt
-
Field Details
-
powerIncreaseQueue
- Mappings:
Namespace Name Mixin selector named powerIncreaseQueue
Lnet/minecraft/world/ExperimentalRedstoneController;powerIncreaseQueue:Ljava/util/Deque;
intermediary field_52665
Lnet/minecraft/class_9903;field_52665:Ljava/util/Deque;
official b
Levb;b:Ljava/util/Deque;
-
powerDecreaseQueue
- Mappings:
Namespace Name Mixin selector named powerDecreaseQueue
Lnet/minecraft/world/ExperimentalRedstoneController;powerDecreaseQueue:Ljava/util/Deque;
intermediary field_52666
Lnet/minecraft/class_9903;field_52666:Ljava/util/Deque;
official c
Levb;c:Ljava/util/Deque;
-
wireOrientationsAndPowers
- Mappings:
Namespace Name Mixin selector named wireOrientationsAndPowers
Lnet/minecraft/world/ExperimentalRedstoneController;wireOrientationsAndPowers:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_52667
Lnet/minecraft/class_9903;field_52667:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
official d
Levb;d:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
-
Constructor Details
-
ExperimentalRedstoneController
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/RedstoneController;<init>(Lnet/minecraft/block/RedstoneWireBlock;)V
intermediary <init>
Lnet/minecraft/class_9906;<init>(Lnet/minecraft/class_2457;)V
official <init>
Levg;<init>(Ldqq;)V
-
-
Method Details
-
update
public void update(World world, BlockPos pos, BlockState state, @Nullable @Nullable WireOrientation orientation, boolean blockAdded) - Specified by:
update
in classRedstoneController
- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/world/RedstoneController;update(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/block/WireOrientation;Z)V
intermediary method_61824
Lnet/minecraft/class_9906;method_61824(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_9904;Z)V
official a
Levg;a(Ldhh;Ljh;Ldxu;Leve;Z)V
-
update
- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/world/ExperimentalRedstoneController;update(Lnet/minecraft/world/World;)V
intermediary method_61829
Lnet/minecraft/class_9903;method_61829(Lnet/minecraft/class_1937;)V
official a
Levb;a(Ldhh;)V
-
canProvidePowerTo
- Mappings:
Namespace Name Mixin selector named canProvidePowerTo
Lnet/minecraft/world/ExperimentalRedstoneController;canProvidePowerTo(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
intermediary method_61834
Lnet/minecraft/class_9903;method_61834(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
official a
Levb;a(Ldxu;Ljm;)Z
-
tweakOrientation
private static WireOrientation tweakOrientation(World world, @Nullable @Nullable WireOrientation orientation) - Mappings:
Namespace Name Mixin selector named tweakOrientation
Lnet/minecraft/world/ExperimentalRedstoneController;tweakOrientation(Lnet/minecraft/world/World;Lnet/minecraft/world/block/WireOrientation;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61830
Lnet/minecraft/class_9903;method_61830(Lnet/minecraft/class_1937;Lnet/minecraft/class_9904;)Lnet/minecraft/class_9904;
official a
Levb;a(Ldhh;Leve;)Leve;
-
propagatePowerUpdates
- Mappings:
Namespace Name Mixin selector named propagatePowerUpdates
Lnet/minecraft/world/ExperimentalRedstoneController;propagatePowerUpdates(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/block/WireOrientation;)V
intermediary method_61832
Lnet/minecraft/class_9903;method_61832(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_9904;)V
official a
Levb;a(Ldhh;Ljh;Leve;)V
-
packOrientationAndPower
- Mappings:
Namespace Name Mixin selector named packOrientationAndPower
Lnet/minecraft/world/ExperimentalRedstoneController;packOrientationAndPower(Lnet/minecraft/world/block/WireOrientation;I)I
intermediary method_61835
Lnet/minecraft/class_9903;method_61835(Lnet/minecraft/class_9904;I)I
official a
Levb;a(Leve;I)I
-
unpackOrientation
- Mappings:
Namespace Name Mixin selector named unpackOrientation
Lnet/minecraft/world/ExperimentalRedstoneController;unpackOrientation(I)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61828
Lnet/minecraft/class_9903;method_61828(I)Lnet/minecraft/class_9904;
official a
Levb;a(I)Leve;
-
unpackPower
private static int unpackPower(int packed) - Mappings:
Namespace Name Mixin selector named unpackPower
Lnet/minecraft/world/ExperimentalRedstoneController;unpackPower(I)I
intermediary method_61840
Lnet/minecraft/class_9903;method_61840(I)I
official b
Levb;b(I)I
-
updatePowerAt
- Mappings:
Namespace Name Mixin selector named updatePowerAt
Lnet/minecraft/world/ExperimentalRedstoneController;updatePowerAt(Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/block/WireOrientation;)V
intermediary method_61838
Lnet/minecraft/class_9903;method_61838(Lnet/minecraft/class_2338;ILnet/minecraft/class_9904;)V
official a
Levb;a(Ljh;ILeve;)V
-
spreadPowerUpdateToNeighbors
private void spreadPowerUpdateToNeighbors(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) - Mappings:
Namespace Name Mixin selector named spreadPowerUpdateToNeighbors
Lnet/minecraft/world/ExperimentalRedstoneController;spreadPowerUpdateToNeighbors(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/block/WireOrientation;Z)V
intermediary method_61831
Lnet/minecraft/class_9903;method_61831(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;ILnet/minecraft/class_9904;Z)V
official a
Levb;a(Ldhh;Ljh;ILeve;Z)V
-
spreadPowerUpdateTo
private void spreadPowerUpdateTo(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) - Mappings:
Namespace Name Mixin selector named spreadPowerUpdateTo
Lnet/minecraft/world/ExperimentalRedstoneController;spreadPowerUpdateTo(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/block/WireOrientation;Z)V
intermediary method_61841
Lnet/minecraft/class_9903;method_61841(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;ILnet/minecraft/class_9904;Z)V
official b
Levb;b(Ldhh;Ljh;ILeve;Z)V
-
getWirePowerAt
- Overrides:
getWirePowerAt
in classRedstoneController
- Mappings:
Namespace Name Mixin selector named getWirePowerAt
Lnet/minecraft/world/RedstoneController;getWirePowerAt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
intermediary method_61839
Lnet/minecraft/class_9906;method_61839(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)I
official a
Levg;a(Ljh;Ldxu;)I
-