Class ExperimentalRedstoneController

java.lang.Object
net.minecraft.world.RedstoneController
net.minecraft.world.ExperimentalRedstoneController

public class ExperimentalRedstoneController extends RedstoneController
Mappings:
Namespace Name
named net/minecraft/world/ExperimentalRedstoneController
intermediary net/minecraft/class_9903
official evb
  • Field Details

    • powerIncreaseQueue

      private final Deque<BlockPos> 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

      private final Deque<BlockPos> 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

      private final Object2IntMap<BlockPos> 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

      public ExperimentalRedstoneController(RedstoneWireBlock wire)
      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 class RedstoneController
      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

      private void update(World world)
      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

      private static boolean canProvidePowerTo(BlockState wireState, Direction direction)
      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

      private void propagatePowerUpdates(World world, BlockPos pos, WireOrientation orientation)
      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

      private static int packOrientationAndPower(WireOrientation orientation, int power)
      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

      private static WireOrientation unpackOrientation(int packed)
      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

      private void updatePowerAt(BlockPos pos, int power, WireOrientation defaultOrientation)
      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

      protected int getWirePowerAt(BlockPos world, BlockState pos)
      Overrides:
      getWirePowerAt in class RedstoneController
      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