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
official cpi$a
intermediary net/minecraft/class_7128$class_7129
named net/minecraft/block/entity/SculkSpreadManager$Cursor
  • Field Details

    • OFFSETS

      private static final ObjectArrayList<Vec3i> OFFSETS
      Mappings:
      Namespace Name Mixin selector
      official c Lcpi$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 Lcpi$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

      private static final com.mojang.serialization.Codec<Set<Direction>> DIRECTION_SET_CODEC
      Mappings:
      Namespace Name Mixin selector
      official i Lcpi$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

      public static final com.mojang.serialization.Codec<SculkSpreadManager.Cursor> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lcpi$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

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official d Lcpi$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 Lcpi$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 Lcpi$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 Lcpi$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

      @Nullable private @Nullable Set<Direction> faces
      Mappings:
      Namespace Name Mixin selector
      official h Lcpi$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

      private Cursor(BlockPos pos, int charge, int decay, int update, Optional<Set<Direction>> faces)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpi$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

      public Cursor(BlockPos pos, int charge)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpi$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

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi$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 Lcpi$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 Lcpi$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

      @Nullable public @Nullable Set<Direction> getFaces()
      Mappings:
      Namespace Name Mixin selector
      official d Lcpi$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

      private boolean canSpread(WorldAccess world, BlockPos pos, boolean worldGen)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi$a;a(Lcgb;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 Lcpi$a;a(Lcgb;Lgt;Lalu;Lcpi;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

      void merge(SculkSpreadManager.Cursor cursor)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi$a;a(Lcpi$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

      private static SculkSpreadable getSpreadable(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi$a;a(Lcur;)Lcpd;
      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

      private static List<Vec3i> shuffleOffsets(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi$a;a(Lalu;)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 Lcpi$a;a(Lcgb;Lgt;Lalu;)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

      private static boolean canSpread(WorldAccess world, BlockPos sourcePos, BlockPos targetPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi$a;a(Lcgb;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

      private static boolean canSpread(WorldAccess world, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpi$a;a(Lcgb;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