Class SculkSpreadManager.Cursor

java.lang.Object
net.minecraft.block.entity.SculkSpreadManager.Cursor
Enclosing class:
SculkSpreadManager

public static class SculkSpreadManager.Cursor extends Object
Mappings:
Namespace Name
named net/minecraft/block/entity/SculkSpreadManager$Cursor
intermediary net/minecraft/class_7128$class_7129
official dms$a
  • Field Details

    • OFFSETS

      private static final ObjectArrayList<Vec3i> 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 Ldms$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 Ldms$a;a:I
    • DIRECTION_SET_CODEC

      private static final com.mojang.serialization.Codec<Set<Direction>> 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 Ldms$a;i:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<SculkSpreadManager.Cursor> 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 Ldms$a;b:Lcom/mojang/serialization/Codec;
    • pos

      private BlockPos 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 Ldms$a;d:Ljd;
    • 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 Ldms$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 Ldms$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 Ldms$a;g:I
    • faces

      @Nullable private @Nullable Set<Direction> 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 Ldms$a;h:Ljava/util/Set;
  • Constructor Details

    • Cursor

      private Cursor(BlockPos pos, int charge, int decay, int update, Optional<Set<Direction>> faces)
      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> Ldms$a;<init>(Ljd;IIILjava/util/Optional;)V
    • Cursor

      public Cursor(BlockPos pos, int charge)
      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> Ldms$a;<init>(Ljd;I)V
  • Method Details

    • getPos

      public BlockPos 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 Ldms$a;a()Ljd;
    • 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 Ldms$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 Ldms$a;c()I
    • getFaces

      @Nullable public @Nullable Set<Direction> 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 Ldms$a;d()Ljava/util/Set;
    • canSpread

      private boolean canSpread(WorldAccess world, BlockPos pos, boolean worldGen)
      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 Ldms$a;a(Ldcv;Ljd;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 Ldms$a;a(Ldcv;Ljd;Layv;Ldms;Z)V
    • merge

      void merge(SculkSpreadManager.Cursor cursor)
      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 Ldms$a;a(Ldms$a;)V
    • getSpreadable

      private static SculkSpreadable getSpreadable(BlockState state)
      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 Ldms$a;a(Ldta;)Ldmn;
    • shuffleOffsets

      private static List<Vec3i> shuffleOffsets(Random random)
      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 Ldms$a;a(Layv;)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 Ldms$a;a(Ldcv;Ljd;Layv;)Ljd;
    • canSpread

      private static boolean canSpread(WorldAccess world, BlockPos sourcePos, BlockPos targetPos)
      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 Ldms$a;a(Ldcv;Ljd;Ljd;)Z
    • canSpread

      private static boolean canSpread(WorldAccess world, BlockPos pos, Direction direction)
      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 Ldms$a;a(Ldcv;Ljd;Lji;)Z