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 dmd$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) 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
Ldmd$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
Ldmd$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
Ldmd$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
Ldmd$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
Ldmd$a;d:Lja;
-
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
Ldmd$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
Ldmd$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
Ldmd$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
Ldmd$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>
Ldmd$a;<init>(Lja;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>
Ldmd$a;<init>(Lja;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
Ldmd$a;a()Lja;
-
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
Ldmd$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
Ldmd$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
Ldmd$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
Ldmd$a;a(Ldch;Lja;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
Ldmd$a;a(Ldch;Lja;Layo;Ldmd;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
Ldmd$a;a(Ldmd$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
Ldmd$a;a(Ldsl;)Ldly;
-
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
Ldmd$a;a(Layo;)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
Ldmd$a;a(Ldch;Lja;Layo;)Lja;
-
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
Ldmd$a;a(Ldch;Lja;Lja;)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
Ldmd$a;a(Ldch;Lja;Ljf;)Z
-