Package net.minecraft.world
Class ExperimentalRedstoneController
java.lang.Object
net.minecraft.world.RedstoneController
net.minecraft.world.ExperimentalRedstoneController
- Mappings:
Namespace Name named net/minecraft/world/ExperimentalRedstoneControllerintermediary net/minecraft/class_9903official ezf
-
Field Summary
FieldsFields inherited from class net.minecraft.world.RedstoneController
wire -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancanProvidePowerTo(BlockState wireState, Direction direction) protected intgetWirePowerAt(BlockPos world, BlockState pos) private static intpackOrientationAndPower(WireOrientation orientation, int power) private voidpropagatePowerUpdates(World world, BlockPos pos, WireOrientation orientation) private voidspreadPowerUpdateTo(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) private voidspreadPowerUpdateToNeighbors(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) private static WireOrientationtweakOrientation(World world, @Nullable WireOrientation orientation) private static WireOrientationunpackOrientation(int packed) private static intunpackPower(int packed) private voidvoidupdate(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) private voidupdatePowerAt(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 powerIncreaseQueueLnet/minecraft/world/ExperimentalRedstoneController;powerIncreaseQueue:Ljava/util/Deque;intermediary field_52665Lnet/minecraft/class_9903;field_52665:Ljava/util/Deque;official bLezf;b:Ljava/util/Deque;
-
powerDecreaseQueue
- Mappings:
Namespace Name Mixin selector named powerDecreaseQueueLnet/minecraft/world/ExperimentalRedstoneController;powerDecreaseQueue:Ljava/util/Deque;intermediary field_52666Lnet/minecraft/class_9903;field_52666:Ljava/util/Deque;official cLezf;c:Ljava/util/Deque;
-
wireOrientationsAndPowers
- Mappings:
Namespace Name Mixin selector named wireOrientationsAndPowersLnet/minecraft/world/ExperimentalRedstoneController;wireOrientationsAndPowers:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_52667Lnet/minecraft/class_9903;field_52667:Lit/unimi/dsi/fastutil/objects/Object2IntMap;official dLezf;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;)Vintermediary <init>Lnet/minecraft/class_9906;<init>(Lnet/minecraft/class_2457;)Vofficial <init>Lezk;<init>(Ldtx;)V
-
-
Method Details
-
update
public void update(World world, BlockPos pos, BlockState state, @Nullable @Nullable WireOrientation orientation, boolean blockAdded) - Specified by:
updatein classRedstoneController- Mappings:
Namespace Name Mixin selector named updateLnet/minecraft/world/RedstoneController;update(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/block/WireOrientation;Z)Vintermediary method_61824Lnet/minecraft/class_9906;method_61824(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_9904;Z)Vofficial aLezk;a(Ldkj;Liw;Lebq;Lezi;Z)V
-
update
- Mappings:
Namespace Name Mixin selector named updateLnet/minecraft/world/ExperimentalRedstoneController;update(Lnet/minecraft/world/World;)Vintermediary method_61829Lnet/minecraft/class_9903;method_61829(Lnet/minecraft/class_1937;)Vofficial aLezf;a(Ldkj;)V
-
canProvidePowerTo
- Mappings:
Namespace Name Mixin selector named canProvidePowerToLnet/minecraft/world/ExperimentalRedstoneController;canProvidePowerTo(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Zintermediary method_61834Lnet/minecraft/class_9903;method_61834(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Zofficial aLezf;a(Lebq;Ljc;)Z
-
tweakOrientation
private static WireOrientation tweakOrientation(World world, @Nullable @Nullable WireOrientation orientation) - Mappings:
Namespace Name Mixin selector named tweakOrientationLnet/minecraft/world/ExperimentalRedstoneController;tweakOrientation(Lnet/minecraft/world/World;Lnet/minecraft/world/block/WireOrientation;)Lnet/minecraft/world/block/WireOrientation;intermediary method_61830Lnet/minecraft/class_9903;method_61830(Lnet/minecraft/class_1937;Lnet/minecraft/class_9904;)Lnet/minecraft/class_9904;official aLezf;a(Ldkj;Lezi;)Lezi;
-
propagatePowerUpdates
- Mappings:
Namespace Name Mixin selector named propagatePowerUpdatesLnet/minecraft/world/ExperimentalRedstoneController;propagatePowerUpdates(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/block/WireOrientation;)Vintermediary method_61832Lnet/minecraft/class_9903;method_61832(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_9904;)Vofficial aLezf;a(Ldkj;Liw;Lezi;)V
-
packOrientationAndPower
- Mappings:
Namespace Name Mixin selector named packOrientationAndPowerLnet/minecraft/world/ExperimentalRedstoneController;packOrientationAndPower(Lnet/minecraft/world/block/WireOrientation;I)Iintermediary method_61835Lnet/minecraft/class_9903;method_61835(Lnet/minecraft/class_9904;I)Iofficial aLezf;a(Lezi;I)I
-
unpackOrientation
- Mappings:
Namespace Name Mixin selector named unpackOrientationLnet/minecraft/world/ExperimentalRedstoneController;unpackOrientation(I)Lnet/minecraft/world/block/WireOrientation;intermediary method_61828Lnet/minecraft/class_9903;method_61828(I)Lnet/minecraft/class_9904;official aLezf;a(I)Lezi;
-
unpackPower
private static int unpackPower(int packed) - Mappings:
Namespace Name Mixin selector named unpackPowerLnet/minecraft/world/ExperimentalRedstoneController;unpackPower(I)Iintermediary method_61840Lnet/minecraft/class_9903;method_61840(I)Iofficial bLezf;b(I)I
-
updatePowerAt
- Mappings:
Namespace Name Mixin selector named updatePowerAtLnet/minecraft/world/ExperimentalRedstoneController;updatePowerAt(Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/block/WireOrientation;)Vintermediary method_61838Lnet/minecraft/class_9903;method_61838(Lnet/minecraft/class_2338;ILnet/minecraft/class_9904;)Vofficial aLezf;a(Liw;ILezi;)V
-
spreadPowerUpdateToNeighbors
private void spreadPowerUpdateToNeighbors(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) - Mappings:
Namespace Name Mixin selector named spreadPowerUpdateToNeighborsLnet/minecraft/world/ExperimentalRedstoneController;spreadPowerUpdateToNeighbors(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/block/WireOrientation;Z)Vintermediary method_61831Lnet/minecraft/class_9903;method_61831(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;ILnet/minecraft/class_9904;Z)Vofficial aLezf;a(Ldkj;Liw;ILezi;Z)V
-
spreadPowerUpdateTo
private void spreadPowerUpdateTo(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) - Mappings:
Namespace Name Mixin selector named spreadPowerUpdateToLnet/minecraft/world/ExperimentalRedstoneController;spreadPowerUpdateTo(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/world/block/WireOrientation;Z)Vintermediary method_61841Lnet/minecraft/class_9903;method_61841(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;ILnet/minecraft/class_9904;Z)Vofficial bLezf;b(Ldkj;Liw;ILezi;Z)V
-
getWirePowerAt
- Overrides:
getWirePowerAtin classRedstoneController- Mappings:
Namespace Name Mixin selector named getWirePowerAtLnet/minecraft/world/RedstoneController;getWirePowerAt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Iintermediary method_61839Lnet/minecraft/class_9906;method_61839(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Iofficial aLezk;a(Liw;Lebq;)I
-