Package net.minecraft.block.entity
Class SculkSpreadManager.Cursor
java.lang.Object
net.minecraft.block.entity.SculkSpreadManager.Cursor
- Enclosing class:
SculkSpreadManager
- Mappings:
Namespace Name named net/minecraft/block/entity/SculkSpreadManager$Cursor
intermediary net/minecraft/class_7128$class_7129
official drj$a
-
Field Summary
Modifier and TypeFieldDescription(package private) int
static final com.mojang.serialization.Codec
<SculkSpreadManager.Cursor> private int
static final int
private static final ObjectArrayList
<Vec3i> private BlockPos
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canSpread
(WorldAccess world, BlockPos pos, boolean worldGen) private static boolean
canSpread
(WorldAccess world, BlockPos sourcePos, BlockPos targetPos) private static boolean
canSpread
(WorldAccess world, BlockPos pos, Direction direction) int
int
getDecay()
getFaces()
getPos()
private static SculkSpreadable
getSpreadable
(BlockState state) getSpreadPos
(WorldAccess world, BlockPos pos, Random random) (package private) boolean
isTooFarFrom
(BlockPos pos) (package private) void
merge
(SculkSpreadManager.Cursor cursor) shuffleOffsets
(Random random) void
spread
(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock)
-
Field Details
-
OFFSETS
- Mappings:
Namespace Name Mixin selector named OFFSETS
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;OFFSETS:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_37624
Lnet/minecraft/class_7128$class_7129;field_37624:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
official c
Ldrj$a;c:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
field_37622
public static final int field_37622- See Also:
- Mappings:
Namespace Name Mixin selector named field_37622
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;field_37622:I
intermediary field_37622
Lnet/minecraft/class_7128$class_7129;field_37622:I
official a
Ldrj$a;a:I
-
DIRECTION_SET_CODEC
- Mappings:
Namespace Name Mixin selector named DIRECTION_SET_CODEC
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;DIRECTION_SET_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_37630
Lnet/minecraft/class_7128$class_7129;field_37630:Lcom/mojang/serialization/Codec;
official i
Ldrj$a;i:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_37623
Lnet/minecraft/class_7128$class_7129;field_37623:Lcom/mojang/serialization/Codec;
official b
Ldrj$a;b:Lcom/mojang/serialization/Codec;
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_37625
Lnet/minecraft/class_7128$class_7129;field_37625:Lnet/minecraft/class_2338;
official d
Ldrj$a;d:Ljh;
-
charge
int charge- Mappings:
Namespace Name Mixin selector named charge
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;charge:I
intermediary field_37626
Lnet/minecraft/class_7128$class_7129;field_37626:I
official e
Ldrj$a;e:I
-
update
private int update- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;update:I
intermediary field_37627
Lnet/minecraft/class_7128$class_7129;field_37627:I
official f
Ldrj$a;f:I
-
decay
private int decay- Mappings:
Namespace Name Mixin selector named decay
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;decay:I
intermediary field_37628
Lnet/minecraft/class_7128$class_7129;field_37628:I
official g
Ldrj$a;g:I
-
faces
- Mappings:
Namespace Name Mixin selector named faces
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;faces:Ljava/util/Set;
intermediary field_37629
Lnet/minecraft/class_7128$class_7129;field_37629:Ljava/util/Set;
official h
Ldrj$a;h:Ljava/util/Set;
-
-
Constructor Details
-
Cursor
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;<init>(Lnet/minecraft/util/math/BlockPos;IIILjava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_7128$class_7129;<init>(Lnet/minecraft/class_2338;IIILjava/util/Optional;)V
official <init>
Ldrj$a;<init>(Ljh;IIILjava/util/Optional;)V
-
Cursor
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;<init>(Lnet/minecraft/util/math/BlockPos;I)V
intermediary <init>
Lnet/minecraft/class_7128$class_7129;<init>(Lnet/minecraft/class_2338;I)V
official <init>
Ldrj$a;<init>(Ljh;I)V
-
-
Method Details
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getPos()Lnet/minecraft/util/math/BlockPos;
intermediary method_41495
Lnet/minecraft/class_7128$class_7129;method_41495()Lnet/minecraft/class_2338;
official a
Ldrj$a;a()Ljh;
-
isTooFarFrom
- Mappings:
Namespace Name Mixin selector named isTooFarFrom
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;isTooFarFrom(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_65074
Lnet/minecraft/class_7128$class_7129;method_65074(Lnet/minecraft/class_2338;)Z
official a
Ldrj$a;a(Ljh;)Z
-
getCharge
public int getCharge()- Mappings:
Namespace Name Mixin selector named getCharge
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getCharge()I
intermediary method_41508
Lnet/minecraft/class_7128$class_7129;method_41508()I
official b
Ldrj$a;b()I
-
getDecay
public int getDecay()- Mappings:
Namespace Name Mixin selector named getDecay
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getDecay()I
intermediary method_41510
Lnet/minecraft/class_7128$class_7129;method_41510()I
official c
Ldrj$a;c()I
-
getFaces
- Mappings:
Namespace Name Mixin selector named getFaces
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getFaces()Ljava/util/Set;
intermediary method_41512
Lnet/minecraft/class_7128$class_7129;method_41512()Ljava/util/Set;
official d
Ldrj$a;d()Ljava/util/Set;
-
canSpread
- Mappings:
Namespace Name Mixin selector named canSpread
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;canSpread(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Z)Z
intermediary method_41500
Lnet/minecraft/class_7128$class_7129;method_41500(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Z)Z
official a
Ldrj$a;a(Ldhi;Ljh;Z)Z
-
spread
public void spread(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) - Mappings:
Namespace Name Mixin selector named spread
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;spread(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/block/entity/SculkSpreadManager;Z)V
intermediary method_41499
Lnet/minecraft/class_7128$class_7129;method_41499(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_7128;Z)V
official a
Ldrj$a;a(Ldhi;Ljh;Lbam;Ldrj;Z)V
-
merge
- Mappings:
Namespace Name Mixin selector named merge
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;merge(Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;)V
intermediary method_41501
Lnet/minecraft/class_7128$class_7129;method_41501(Lnet/minecraft/class_7128$class_7129;)V
official a
Ldrj$a;a(Ldrj$a;)V
-
getSpreadable
- Mappings:
Namespace Name Mixin selector named getSpreadable
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getSpreadable(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/SculkSpreadable;
intermediary method_41503
Lnet/minecraft/class_7128$class_7129;method_41503(Lnet/minecraft/class_2680;)Lnet/minecraft/class_7124;
official a
Ldrj$a;a(Ldxu;)Ldre;
-
shuffleOffsets
- Mappings:
Namespace Name Mixin selector named shuffleOffsets
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;shuffleOffsets(Lnet/minecraft/util/math/random/Random;)Ljava/util/List;
intermediary method_41507
Lnet/minecraft/class_7128$class_7129;method_41507(Lnet/minecraft/class_5819;)Ljava/util/List;
official a
Ldrj$a;a(Lbam;)Ljava/util/List;
-
getSpreadPos
@Nullable private static @Nullable BlockPos getSpreadPos(WorldAccess world, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector named getSpreadPos
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getSpreadPos(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/BlockPos;
intermediary method_41498
Lnet/minecraft/class_7128$class_7129;method_41498(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Lnet/minecraft/class_2338;
official a
Ldrj$a;a(Ldhi;Ljh;Lbam;)Ljh;
-
canSpread
- Mappings:
Namespace Name Mixin selector named canSpread
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;canSpread(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_41496
Lnet/minecraft/class_7128$class_7129;method_41496(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Z
official a
Ldrj$a;a(Ldhi;Ljh;Ljh;)Z
-
canSpread
- Mappings:
Namespace Name Mixin selector named canSpread
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;canSpread(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
intermediary method_41497
Lnet/minecraft/class_7128$class_7129;method_41497(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
official a
Ldrj$a;a(Ldhi;Ljh;Ljm;)Z
-