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 fkt
-
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 bLfkt;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 cLfkt;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 dLfkt;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>Lfky;<init>(Leeo;)V
-
-
Method Details
-
update
public void update(World world, BlockPos pos, BlockState state, @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 aLfky;a(Ldva;Liv;Lemu;Lfkw;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 aLfkt;a(Ldva;)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 aLfkt;a(Lemu;Ljb;)Z
-
tweakOrientation
- 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 aLfkt;a(Ldva;Lfkw;)Lfkw;
-
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 aLfkt;a(Ldva;Liv;Lfkw;)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 aLfkt;a(Lfkw;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 aLfkt;a(I)Lfkw;
-
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 bLfkt;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 aLfkt;a(Liv;ILfkw;)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 aLfkt;a(Ldva;Liv;ILfkw;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 bLfkt;b(Ldva;Liv;ILfkw;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 aLfky;a(Liv;Lemu;)I
-