Package net.minecraft.world.block
Class ChainRestrictedNeighborUpdater
java.lang.Object
net.minecraft.world.block.ChainRestrictedNeighborUpdater
- All Implemented Interfaces:
NeighborUpdater
- Mappings:
Namespace Name official dxw
intermediary net/minecraft/class_7159
named net/minecraft/world/block/ChainRestrictedNeighborUpdater
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
(package private) static final record
(package private) static final class
(package private) static final record
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final Logger
private final int
private final List<ChainRestrictedNeighborUpdater.Entry>
private final ArrayDeque<ChainRestrictedNeighborUpdater.Entry>
private final World
Fields inherited from interface net.minecraft.world.block.NeighborUpdater
UPDATE_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
enqueue
(BlockPos pos, ChainRestrictedNeighborUpdater.Entry entry) void
replaceWithStateForNeighborUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) private void
void
updateNeighbor
(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
updateNeighbor
(BlockPos pos, Block sourceBlock, BlockPos sourcePos) void
updateNeighbors
(BlockPos pos, Block sourceBlock, @Nullable Direction except)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Ldxw;b:Lorg/slf4j/Logger;
intermediary field_37829
Lnet/minecraft/class_7159;field_37829:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;LOGGER:Lorg/slf4j/Logger;
-
world
- Mappings:
Namespace Name Mixin selector official c
Ldxw;c:Lcmf;
intermediary field_37830
Lnet/minecraft/class_7159;field_37830:Lnet/minecraft/class_1937;
named world
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;world:Lnet/minecraft/world/World;
-
maxChainDepth
private final int maxChainDepth- Mappings:
Namespace Name Mixin selector official d
Ldxw;d:I
intermediary field_38276
Lnet/minecraft/class_7159;field_38276:I
named maxChainDepth
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;maxChainDepth:I
-
queue
- Mappings:
Namespace Name Mixin selector official e
Ldxw;e:Ljava/util/ArrayDeque;
intermediary field_37831
Lnet/minecraft/class_7159;field_37831:Ljava/util/ArrayDeque;
named queue
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;queue:Ljava/util/ArrayDeque;
-
pending
- Mappings:
Namespace Name Mixin selector official f
Ldxw;f:Ljava/util/List;
intermediary field_37832
Lnet/minecraft/class_7159;field_37832:Ljava/util/List;
named pending
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;pending:Ljava/util/List;
-
depth
private int depth- Mappings:
Namespace Name Mixin selector official g
Ldxw;g:I
intermediary field_37833
Lnet/minecraft/class_7159;field_37833:I
named depth
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;depth:I
-
-
Constructor Details
-
ChainRestrictedNeighborUpdater
- Mappings:
Namespace Name Mixin selector official <init>
Ldxw;<init>(Lcmf;I)V
intermediary <init>
Lnet/minecraft/class_7159;<init>(Lnet/minecraft/class_1937;I)V
named <init>
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;<init>(Lnet/minecraft/world/World;I)V
-
-
Method Details
-
replaceWithStateForNeighborUpdate
public void replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) - Specified by:
replaceWithStateForNeighborUpdate
in interfaceNeighborUpdater
- Mappings:
Namespace Name Mixin selector official a
Ldxy;a(Lha;Ldbt;Lgu;Lgu;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
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
-
updateNeighbor
- Specified by:
updateNeighbor
in interfaceNeighborUpdater
- Mappings:
Namespace Name Mixin selector official a
Ldxy;a(Lgu;Lcpg;Lgu;)V
intermediary method_41704
Lnet/minecraft/class_7165;method_41704(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
named updateNeighbor
Lnet/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:
updateNeighbor
in interfaceNeighborUpdater
- Mappings:
Namespace Name Mixin selector official a
Ldxy;a(Ldbt;Lgu;Lcpg;Lgu;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_2338;Z)V
named updateNeighbor
Lnet/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:
updateNeighbors
in interfaceNeighborUpdater
- Mappings:
Namespace Name Mixin selector official a
Ldxy;a(Lgu;Lcpg;Lha;)V
intermediary method_41705
Lnet/minecraft/class_7165;method_41705(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
named updateNeighbors
Lnet/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 a
Ldxw;a(Lgu;Ldxw$c;)V
intermediary method_41706
Lnet/minecraft/class_7159;method_41706(Lnet/minecraft/class_2338;Lnet/minecraft/class_7159$class_7162;)V
named enqueue
Lnet/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 a
Ldxw;a()V
intermediary method_41702
Lnet/minecraft/class_7159;method_41702()V
named runQueuedUpdates
Lnet/minecraft/world/block/ChainRestrictedNeighborUpdater;runQueuedUpdates()V
-