Package net.minecraft.block
Interface SideChaining
- All Known Implementing Classes:
ShelfBlock
public interface SideChaining
- Mappings:
Namespace Name named net/minecraft/block/SideChainingintermediary net/minecraft/class_11587official ecj
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic interfacestatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanAddChainLength(int chainLength, int toAdd) booleancanChainWith(BlockState state) default voidconnectNeighbors(WorldAccess world, BlockPos pos, BlockState state, BlockState oldState) default voiddisconnectNeighbors(WorldAccess world, BlockPos pos, BlockState state) private voidforEachNeighborTowards(IntFunction<SideChaining.Neighbor> neighborGetter, SideChainPart part, Consumer<BlockPos> posConsumer) getFacing(BlockState state) intprivate SideChaining.NeighborsgetNeighbors(WorldAccess world, BlockPos pos, Direction facing) getPositionsInChain(WorldAccess world, BlockPos pos) getSideChainPart(BlockState state) private booleanisAlreadyConnected(BlockState state, BlockState oldState) default voidsetSideChainPart(WorldAccess world, BlockPos pos, SideChainPart part) withSideChainPart(BlockState state, SideChainPart sideChainPart)
-
Method Details
-
getSideChainPart
- Mappings:
Namespace Name Mixin selector named getSideChainPartLnet/minecraft/block/SideChaining;getSideChainPart(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/enums/SideChainPart;intermediary method_72619Lnet/minecraft/class_11587;method_72619(Lnet/minecraft/class_2680;)Lnet/minecraft/class_11598;official pLecj;p(Lejm;)Leku;
-
withSideChainPart
- Mappings:
Namespace Name Mixin selector named withSideChainPartLnet/minecraft/block/SideChaining;withSideChainPart(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/enums/SideChainPart;)Lnet/minecraft/block/BlockState;intermediary method_72617Lnet/minecraft/class_11587;method_72617(Lnet/minecraft/class_2680;Lnet/minecraft/class_11598;)Lnet/minecraft/class_2680;official aLecj;a(Lejm;Leku;)Lejm;
-
getFacing
- Mappings:
Namespace Name Mixin selector named getFacingLnet/minecraft/block/SideChaining;getFacing(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Direction;intermediary method_72620Lnet/minecraft/class_11587;method_72620(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2350;official rLecj;r(Lejm;)Ljg;
-
canChainWith
- Mappings:
Namespace Name Mixin selector named canChainWithLnet/minecraft/block/SideChaining;canChainWith(Lnet/minecraft/block/BlockState;)Zintermediary method_72621Lnet/minecraft/class_11587;method_72621(Lnet/minecraft/class_2680;)Zofficial sLecj;s(Lejm;)Z
-
getMaxSideChainLength
int getMaxSideChainLength()- Mappings:
Namespace Name Mixin selector named getMaxSideChainLengthLnet/minecraft/block/SideChaining;getMaxSideChainLength()Iintermediary method_72618Lnet/minecraft/class_11587;method_72618()Iofficial dLecj;d()I
-
getPositionsInChain
- Mappings:
Namespace Name Mixin selector named getPositionsInChainLnet/minecraft/block/SideChaining;getPositionsInChain(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;intermediary method_72623Lnet/minecraft/class_11587;method_72623(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Ljava/util/List;official aLecj;a(Ldrr;Lja;)Ljava/util/List;
-
forEachNeighborTowards
private void forEachNeighborTowards(IntFunction<SideChaining.Neighbor> neighborGetter, SideChainPart part, Consumer<BlockPos> posConsumer) - Mappings:
Namespace Name Mixin selector named forEachNeighborTowardsLnet/minecraft/block/SideChaining;forEachNeighborTowards(Ljava/util/function/IntFunction;Lnet/minecraft/block/enums/SideChainPart;Ljava/util/function/Consumer;)Vintermediary method_72628Lnet/minecraft/class_11587;method_72628(Ljava/util/function/IntFunction;Lnet/minecraft/class_11598;Ljava/util/function/Consumer;)Vofficial aLecj;a(Ljava/util/function/IntFunction;Leku;Ljava/util/function/Consumer;)V
-
disconnectNeighbors
- Mappings:
Namespace Name Mixin selector named disconnectNeighborsLnet/minecraft/block/SideChaining;disconnectNeighbors(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_72629Lnet/minecraft/class_11587;method_72629(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial a_Lecj;a_(Ldrr;Lja;Lejm;)V
-
connectNeighbors
default void connectNeighbors(WorldAccess world, BlockPos pos, BlockState state, BlockState oldState) - Mappings:
Namespace Name Mixin selector named connectNeighborsLnet/minecraft/block/SideChaining;connectNeighbors(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Vintermediary method_72624Lnet/minecraft/class_11587;method_72624(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Vofficial aLecj;a(Ldrr;Lja;Lejm;Lejm;)V
-
canAddChainLength
private boolean canAddChainLength(int chainLength, int toAdd) - Mappings:
Namespace Name Mixin selector named canAddChainLengthLnet/minecraft/block/SideChaining;canAddChainLength(II)Zintermediary method_72622Lnet/minecraft/class_11587;method_72622(II)Zofficial aLecj;a(II)Z
-
isAlreadyConnected
- Mappings:
Namespace Name Mixin selector named isAlreadyConnectedLnet/minecraft/block/SideChaining;isAlreadyConnected(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Zintermediary method_72627Lnet/minecraft/class_11587;method_72627(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Zofficial aLecj;a(Lejm;Lejm;)Z
-
getNeighbors
- Mappings:
Namespace Name Mixin selector named getNeighborsLnet/minecraft/block/SideChaining;getNeighbors(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/SideChaining$Neighbors;intermediary method_72626Lnet/minecraft/class_11587;method_72626(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_11587$class_11590;official aLecj;a(Ldrr;Lja;Ljg;)Lecj$c;
-
setSideChainPart
- Mappings:
Namespace Name Mixin selector named setSideChainPartLnet/minecraft/block/SideChaining;setSideChainPart(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/enums/SideChainPart;)Vintermediary method_72625Lnet/minecraft/class_11587;method_72625(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_11598;)Vofficial aLecj;a(Ldrr;Lja;Leku;)V
-