Class ChainRestrictedNeighborUpdater

java.lang.Object
net.minecraft.world.block.ChainRestrictedNeighborUpdater
All Implemented Interfaces:
NeighborUpdater

public class ChainRestrictedNeighborUpdater extends Object implements NeighborUpdater
Mappings:
Namespace Name
named net/minecraft/world/block/ChainRestrictedNeighborUpdater
intermediary net/minecraft/class_7159
official fhc
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;LOGGER:Lorg/slf4j/Logger;
      intermediary field_37829 Lnet/minecraft/class_7159;field_37829:Lorg/slf4j/Logger;
      official b Lfhc;b:Lorg/slf4j/Logger;
    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;world:Lnet/minecraft/world/World;
      intermediary field_37830 Lnet/minecraft/class_7159;field_37830:Lnet/minecraft/class_1937;
      official c Lfhc;c:Ldrq;
    • maxChainDepth

      private final int maxChainDepth
      Mappings:
      Namespace Name Mixin selector
      named maxChainDepth Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;maxChainDepth:I
      intermediary field_38276 Lnet/minecraft/class_7159;field_38276:I
      official d Lfhc;d:I
    • queue

      Mappings:
      Namespace Name Mixin selector
      named queue Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;queue:Ljava/util/ArrayDeque;
      intermediary field_37831 Lnet/minecraft/class_7159;field_37831:Ljava/util/ArrayDeque;
      official e Lfhc;e:Ljava/util/ArrayDeque;
    • pending

      Mappings:
      Namespace Name Mixin selector
      named pending Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;pending:Ljava/util/List;
      intermediary field_37832 Lnet/minecraft/class_7159;field_37832:Ljava/util/List;
      official f Lfhc;f:Ljava/util/List;
    • depth

      private int depth
      Mappings:
      Namespace Name Mixin selector
      named depth Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;depth:I
      intermediary field_37833 Lnet/minecraft/class_7159;field_37833:I
      official g Lfhc;g:I
    • neighborUpdateCallback

      @Nullable private @Nullable Consumer<BlockPos> neighborUpdateCallback
      Mappings:
      Namespace Name Mixin selector
      named neighborUpdateCallback Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;neighborUpdateCallback:Ljava/util/function/Consumer;
      intermediary field_62924 Lnet/minecraft/class_7159;field_62924:Ljava/util/function/Consumer;
      official h Lfhc;h:Ljava/util/function/Consumer;
  • Constructor Details

    • ChainRestrictedNeighborUpdater

      public ChainRestrictedNeighborUpdater(World world, int maxChainDepth)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;<init>(Lnet/minecraft/world/World;I)V
      intermediary <init> Lnet/minecraft/class_7159;<init>(Lnet/minecraft/class_1937;I)V
      official <init> Lfhc;<init>(Ldrq;I)V
  • Method Details

    • setNeighborUpdateCallback

      public void setNeighborUpdateCallback(@Nullable @Nullable Consumer<BlockPos> neighborUpdateCallback)
      Mappings:
      Namespace Name Mixin selector
      named setNeighborUpdateCallback Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;setNeighborUpdateCallback(Ljava/util/function/Consumer;)V
      intermediary method_74694 Lnet/minecraft/class_7159;method_74694(Ljava/util/function/Consumer;)V
      official a Lfhc;a(Ljava/util/function/Consumer;)V
    • replaceWithStateForNeighborUpdate

      public void replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth)
      Specified by:
      replaceWithStateForNeighborUpdate in interface NeighborUpdater
      Mappings:
      Namespace Name Mixin selector
      named replaceWithStateForNeighborUpdate Lnet/minecraft/world/block/NeighborUpdater;replaceWithStateForNeighborUpdate(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II)V
      intermediary method_42392 Lnet/minecraft/class_7165;method_42392(Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II)V
      official a Lfhh;a(Ljg;Lejm;Lja;Lja;II)V
    • updateNeighbor

      public void updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation)
      Specified by:
      updateNeighbor in interface NeighborUpdater
      Mappings:
      Namespace Name Mixin selector
      named updateNeighbor Lnet/minecraft/world/block/NeighborUpdater;updateNeighbor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/world/block/WireOrientation;)V
      intermediary method_41704 Lnet/minecraft/class_7165;method_41704(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;)V
      official a Lfhh;a(Lja;Lduv;Lfhi;)V
    • updateNeighbor

      public void updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation, boolean notify)
      Specified by:
      updateNeighbor in interface NeighborUpdater
      Mappings:
      Namespace Name Mixin selector
      named updateNeighbor Lnet/minecraft/world/block/NeighborUpdater;updateNeighbor(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/world/block/WireOrientation;Z)V
      intermediary method_41703 Lnet/minecraft/class_7165;method_41703(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;Z)V
      official a Lfhh;a(Lejm;Lja;Lduv;Lfhi;Z)V
    • updateNeighbors

      public void updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable @Nullable Direction except, @Nullable @Nullable WireOrientation orientation)
      Specified by:
      updateNeighbors in interface NeighborUpdater
      Mappings:
      Namespace Name Mixin selector
      named updateNeighbors Lnet/minecraft/world/block/NeighborUpdater;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/block/WireOrientation;)V
      intermediary method_41705 Lnet/minecraft/class_7165;method_41705(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;Lnet/minecraft/class_9904;)V
      official a Lfhh;a(Lja;Lduv;Ljg;Lfhi;)V
    • enqueue

      private void enqueue(BlockPos pos, ChainRestrictedNeighborUpdater.Entry entry)
      Mappings:
      Namespace Name Mixin selector
      named enqueue Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;enqueue(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater$Entry;)V
      intermediary method_41706 Lnet/minecraft/class_7159;method_41706(Lnet/minecraft/class_2338;Lnet/minecraft/class_7159$class_7162;)V
      official a Lfhc;a(Lja;Lfhc$c;)V
    • runQueuedUpdates

      private void runQueuedUpdates()
      Mappings:
      Namespace Name Mixin selector
      named runQueuedUpdates Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;runQueuedUpdates()V
      intermediary method_41702 Lnet/minecraft/class_7159;method_41702()V
      official a Lfhc;a()V