Package net.minecraft.block.entity
Class SculkSpreadManager.Cursor
java.lang.Object
net.minecraft.block.entity.SculkSpreadManager.Cursor
- Enclosing class:
SculkSpreadManager
- Mappings:
Namespace Name official cqf$a
intermediary net/minecraft/class_7128$class_7129
named net/minecraft/block/entity/SculkSpreadManager$Cursor
-
Field Summary
FieldsModifier 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
Constructors -
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 official c
Lcqf$a;c:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_37624
Lnet/minecraft/class_7128$class_7129;field_37624:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named OFFSETS
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;OFFSETS:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
field_37622
public static final int field_37622- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a:I
intermediary field_37622
Lnet/minecraft/class_7128$class_7129;field_37622:I
named field_37622
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;field_37622:I
-
DIRECTION_SET_CODEC
- Mappings:
Namespace Name Mixin selector official i
Lcqf$a;i:Lcom/mojang/serialization/Codec;
intermediary field_37630
Lnet/minecraft/class_7128$class_7129;field_37630:Lcom/mojang/serialization/Codec;
named DIRECTION_SET_CODEC
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;DIRECTION_SET_CODEC:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official b
Lcqf$a;b:Lcom/mojang/serialization/Codec;
intermediary field_37623
Lnet/minecraft/class_7128$class_7129;field_37623:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;CODEC:Lcom/mojang/serialization/Codec;
-
pos
- Mappings:
Namespace Name Mixin selector official d
Lcqf$a;d:Lgt;
intermediary field_37625
Lnet/minecraft/class_7128$class_7129;field_37625:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;pos:Lnet/minecraft/util/math/BlockPos;
-
charge
int charge- Mappings:
Namespace Name Mixin selector official e
Lcqf$a;e:I
intermediary field_37626
Lnet/minecraft/class_7128$class_7129;field_37626:I
named charge
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;charge:I
-
update
private int update- Mappings:
Namespace Name Mixin selector official f
Lcqf$a;f:I
intermediary field_37627
Lnet/minecraft/class_7128$class_7129;field_37627:I
named update
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;update:I
-
decay
private int decay- Mappings:
Namespace Name Mixin selector official g
Lcqf$a;g:I
intermediary field_37628
Lnet/minecraft/class_7128$class_7129;field_37628:I
named decay
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;decay:I
-
faces
- Mappings:
Namespace Name Mixin selector official h
Lcqf$a;h:Ljava/util/Set;
intermediary field_37629
Lnet/minecraft/class_7128$class_7129;field_37629:Ljava/util/Set;
named faces
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;faces:Ljava/util/Set;
-
-
Constructor Details
-
Cursor
- Mappings:
Namespace Name Mixin selector official <init>
Lcqf$a;<init>(Lgt;IIILjava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_7128$class_7129;<init>(Lnet/minecraft/class_2338;IIILjava/util/Optional;)V
named <init>
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;<init>(Lnet/minecraft/util/math/BlockPos;IIILjava/util/Optional;)V
-
Cursor
- Mappings:
Namespace Name Mixin selector official <init>
Lcqf$a;<init>(Lgt;I)V
intermediary <init>
Lnet/minecraft/class_7128$class_7129;<init>(Lnet/minecraft/class_2338;I)V
named <init>
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;<init>(Lnet/minecraft/util/math/BlockPos;I)V
-
-
Method Details
-
getPos
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a()Lgt;
intermediary method_41495
Lnet/minecraft/class_7128$class_7129;method_41495()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getPos()Lnet/minecraft/util/math/BlockPos;
-
getCharge
public int getCharge()- Mappings:
Namespace Name Mixin selector official b
Lcqf$a;b()I
intermediary method_41508
Lnet/minecraft/class_7128$class_7129;method_41508()I
named getCharge
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getCharge()I
-
getDecay
public int getDecay()- Mappings:
Namespace Name Mixin selector official c
Lcqf$a;c()I
intermediary method_41510
Lnet/minecraft/class_7128$class_7129;method_41510()I
named getDecay
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getDecay()I
-
getFaces
- Mappings:
Namespace Name Mixin selector official d
Lcqf$a;d()Ljava/util/Set;
intermediary method_41512
Lnet/minecraft/class_7128$class_7129;method_41512()Ljava/util/Set;
named getFaces
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getFaces()Ljava/util/Set;
-
canSpread
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lcgy;Lgt;Z)Z
intermediary method_41500
Lnet/minecraft/class_7128$class_7129;method_41500(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Z)Z
named canSpread
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;canSpread(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Z)Z
-
spread
public void spread(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) - Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lcgy;Lgt;Lamn;Lcqf;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
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
-
merge
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lcqf$a;)V
intermediary method_41501
Lnet/minecraft/class_7128$class_7129;method_41501(Lnet/minecraft/class_7128$class_7129;)V
named merge
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;merge(Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;)V
-
getSpreadable
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lcvo;)Lcqa;
intermediary method_41503
Lnet/minecraft/class_7128$class_7129;method_41503(Lnet/minecraft/class_2680;)Lnet/minecraft/class_7124;
named getSpreadable
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;getSpreadable(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/SculkSpreadable;
-
shuffleOffsets
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lamn;)Ljava/util/List;
intermediary method_41507
Lnet/minecraft/class_7128$class_7129;method_41507(Lnet/minecraft/class_5819;)Ljava/util/List;
named shuffleOffsets
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;shuffleOffsets(Lnet/minecraft/util/math/random/Random;)Ljava/util/List;
-
getSpreadPos
@Nullable private static @Nullable BlockPos getSpreadPos(WorldAccess world, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lcgy;Lgt;Lamn;)Lgt;
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;
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;
-
canSpread
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lcgy;Lgt;Lgt;)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
named canSpread
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;canSpread(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Z
-
canSpread
- Mappings:
Namespace Name Mixin selector official a
Lcqf$a;a(Lcgy;Lgt;Lgy;)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
named canSpread
Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;canSpread(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-