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 erg
-
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 voidmethod_61829(World world) 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) voidupdate(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation) 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 bLerg;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 cLerg;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 dLerg;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>Lerl;<init>(Ldmy;)V
-
-
Method Details
-
update
public void update(World world, BlockPos pos, BlockState state, @Nullable @Nullable WireOrientation orientation) - 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;)Vintermediary method_61824Lnet/minecraft/class_9906;method_61824(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_9904;)Vofficial aLerl;a(Ldds;Lje;Ldua;Lerj;)V
-
method_61829
- Mappings:
Namespace Name Mixin selector named method_61829Lnet/minecraft/world/ExperimentalRedstoneController;method_61829(Lnet/minecraft/world/World;)Vintermediary method_61829Lnet/minecraft/class_9903;method_61829(Lnet/minecraft/class_1937;)Vofficial aLerg;a(Ldds;)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 aLerg;a(Ldua;Ljj;)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 aLerg;a(Ldds;Lerj;)Lerj;
-
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 aLerg;a(Ldds;Lje;Lerj;)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 aLerg;a(Lerj;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 aLerg;a(I)Lerj;
-
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 bLerg;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 aLerg;a(Lje;ILerj;)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 aLerg;a(Ldds;Lje;ILerj;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 bLerg;b(Ldds;Lje;ILerj;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 aLerl;a(Lje;Ldua;)I
-