Package net.minecraft.world.block
Class ChainRestrictedNeighborUpdater
java.lang.Object
net.minecraft.world.block.ChainRestrictedNeighborUpdater
- All Implemented Interfaces:
NeighborUpdater
- Mappings:
Namespace Name official dmkintermediary net/minecraft/class_7159named net/minecraft/world/block/ChainRestrictedNeighborUpdater
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static interface(package private) static final record(package private) static final class(package private) static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final org.slf4j.Loggerprivate final intprivate final List<ChainRestrictedNeighborUpdater.Entry>private final ArrayDeque<ChainRestrictedNeighborUpdater.Entry>private final WorldFields inherited from interface net.minecraft.world.block.NeighborUpdater
UPDATE_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidenqueue(BlockPos pos, ChainRestrictedNeighborUpdater.Entry entry) private voidvoidupdateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidupdateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos) voidupdateNeighbor(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int int2) voidupdateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official bLdmk;b:Lorg/slf4j/Logger;intermediary field_37829Lnet/minecraft/class_7159;field_37829:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;LOGGER:Lorg/slf4j/Logger;
-
world
- Mappings:
Namespace Name Mixin selector official cLdmk;c:Lccx;intermediary field_37830Lnet/minecraft/class_7159;field_37830:Lnet/minecraft/class_1937;named worldLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;world:Lnet/minecraft/world/World;
-
maxChainDepth
private final int maxChainDepth- Mappings:
Namespace Name Mixin selector official dLdmk;d:Iintermediary field_38276Lnet/minecraft/class_7159;field_38276:Inamed maxChainDepthLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;maxChainDepth:I
-
queue
- Mappings:
Namespace Name Mixin selector official eLdmk;e:Ljava/util/ArrayDeque;intermediary field_37831Lnet/minecraft/class_7159;field_37831:Ljava/util/ArrayDeque;named queueLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;queue:Ljava/util/ArrayDeque;
-
pending
- Mappings:
Namespace Name Mixin selector official fLdmk;f:Ljava/util/List;intermediary field_37832Lnet/minecraft/class_7159;field_37832:Ljava/util/List;named pendingLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;pending:Ljava/util/List;
-
depth
private int depth- Mappings:
Namespace Name Mixin selector official gLdmk;g:Iintermediary field_37833Lnet/minecraft/class_7159;field_37833:Inamed depthLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;depth:I
-
-
Constructor Details
-
ChainRestrictedNeighborUpdater
- Mappings:
Namespace Name Mixin selector official <init>Ldmk;<init>(Lccx;I)Vintermediary <init>Lnet/minecraft/class_7159;<init>(Lnet/minecraft/class_1937;I)Vnamed <init>Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;<init>(Lnet/minecraft/world/World;I)V
-
-
Method Details
-
updateNeighbor
public void updateNeighbor(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int int2) - Specified by:
updateNeighborin interfaceNeighborUpdater- Mappings:
Namespace Name Mixin selector official aLdmm;a(Lgp;Lcrk;Lgk;Lgk;II)Vintermediary method_42392Lnet/minecraft/class_7165;method_42392(Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II)Vnamed updateNeighborLnet/minecraft/world/block/NeighborUpdater;updateNeighbor(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II)V
-
updateNeighbor
- Specified by:
updateNeighborin interfaceNeighborUpdater- Mappings:
Namespace Name Mixin selector official aLdmm;a(Lgk;Lcfr;Lgk;)Vintermediary method_41704Lnet/minecraft/class_7165;method_41704(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)Vnamed updateNeighborLnet/minecraft/world/block/NeighborUpdater;updateNeighbor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
updateNeighbor
public void updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) - Specified by:
updateNeighborin interfaceNeighborUpdater- Mappings:
Namespace Name Mixin selector official aLdmm;a(Lcrk;Lgk;Lcfr;Lgk;Z)Vintermediary method_41703Lnet/minecraft/class_7165;method_41703(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)Vnamed updateNeighborLnet/minecraft/world/block/NeighborUpdater;updateNeighbor(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
-
updateNeighbors
- Specified by:
updateNeighborsin interfaceNeighborUpdater- Mappings:
Namespace Name Mixin selector official aLdmm;a(Lgk;Lcfr;Lgp;)Vintermediary method_41705Lnet/minecraft/class_7165;method_41705(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)Vnamed updateNeighborsLnet/minecraft/world/block/NeighborUpdater;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;)V
-
enqueue
- Mappings:
Namespace Name Mixin selector official aLdmk;a(Lgk;Ldmk$c;)Vintermediary method_41706Lnet/minecraft/class_7159;method_41706(Lnet/minecraft/class_2338;Lnet/minecraft/class_7159$class_7162;)Vnamed enqueueLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;enqueue(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater$Entry;)V
-
runQueuedUpdates
private void runQueuedUpdates()- Mappings:
Namespace Name Mixin selector official aLdmk;a()Vintermediary method_41702Lnet/minecraft/class_7159;method_41702()Vnamed runQueuedUpdatesLnet/minecraft/world/block/ChainRestrictedNeighborUpdater;runQueuedUpdates()V
-