Class SculkSpreadManager

java.lang.Object
net.minecraft.block.entity.SculkSpreadManager

public class SculkSpreadManager extends Object
Mappings:
Namespace Name
official cwi
intermediary net/minecraft/class_7128
named net/minecraft/block/entity/SculkSpreadManager
  • Field Details

    • field_37609

      public static final int field_37609
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcwi;a:I
      intermediary field_37609 Lnet/minecraft/class_7128;field_37609:I
      named field_37609 Lnet/minecraft/block/entity/SculkSpreadManager;field_37609:I
    • MAX_CHARGE

      public static final int MAX_CHARGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcwi;b:I
      intermediary field_37610 Lnet/minecraft/class_7128;field_37610:I
      named MAX_CHARGE Lnet/minecraft/block/entity/SculkSpreadManager;MAX_CHARGE:I
    • field_37611

      public static final float field_37611
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcwi;c:F
      intermediary field_37611 Lnet/minecraft/class_7128;field_37611:F
      named field_37611 Lnet/minecraft/block/entity/SculkSpreadManager;field_37611:F
    • MAX_CURSORS

      private static final int MAX_CURSORS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lcwi;e:I
      intermediary field_37613 Lnet/minecraft/class_7128;field_37613:I
      named MAX_CURSORS Lnet/minecraft/block/entity/SculkSpreadManager;MAX_CURSORS:I
    • field_37612

      public static final int field_37612
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lcwi;d:I
      intermediary field_37612 Lnet/minecraft/class_7128;field_37612:I
      named field_37612 Lnet/minecraft/block/entity/SculkSpreadManager;field_37612:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official m Lcwi;m:Lorg/slf4j/Logger;
      intermediary field_37621 Lnet/minecraft/class_7128;field_37621:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/block/entity/SculkSpreadManager;LOGGER:Lorg/slf4j/Logger;
    • worldGen

      final boolean worldGen
      Mappings:
      Namespace Name Mixin selector
      official f Lcwi;f:Z
      intermediary field_37614 Lnet/minecraft/class_7128;field_37614:Z
      named worldGen Lnet/minecraft/block/entity/SculkSpreadManager;worldGen:Z
    • replaceableTag

      private final TagKey<Block> replaceableTag
      Mappings:
      Namespace Name Mixin selector
      official g Lcwi;g:Lanl;
      intermediary field_37615 Lnet/minecraft/class_7128;field_37615:Lnet/minecraft/class_6862;
      named replaceableTag Lnet/minecraft/block/entity/SculkSpreadManager;replaceableTag:Lnet/minecraft/registry/tag/TagKey;
    • extraBlockChance

      private final int extraBlockChance
      Mappings:
      Namespace Name Mixin selector
      official h Lcwi;h:I
      intermediary field_37616 Lnet/minecraft/class_7128;field_37616:I
      named extraBlockChance Lnet/minecraft/block/entity/SculkSpreadManager;extraBlockChance:I
    • maxDistance

      private final int maxDistance
      Mappings:
      Namespace Name Mixin selector
      official i Lcwi;i:I
      intermediary field_37617 Lnet/minecraft/class_7128;field_37617:I
      named maxDistance Lnet/minecraft/block/entity/SculkSpreadManager;maxDistance:I
    • spreadChance

      private final int spreadChance
      Mappings:
      Namespace Name Mixin selector
      official j Lcwi;j:I
      intermediary field_37618 Lnet/minecraft/class_7128;field_37618:I
      named spreadChance Lnet/minecraft/block/entity/SculkSpreadManager;spreadChance:I
    • decayChance

      private final int decayChance
      Mappings:
      Namespace Name Mixin selector
      official k Lcwi;k:I
      intermediary field_37619 Lnet/minecraft/class_7128;field_37619:I
      named decayChance Lnet/minecraft/block/entity/SculkSpreadManager;decayChance:I
    • cursors

      private List<SculkSpreadManager.Cursor> cursors
      Mappings:
      Namespace Name Mixin selector
      official l Lcwi;l:Ljava/util/List;
      intermediary field_37620 Lnet/minecraft/class_7128;field_37620:Ljava/util/List;
      named cursors Lnet/minecraft/block/entity/SculkSpreadManager;cursors:Ljava/util/List;
  • Constructor Details

    • SculkSpreadManager

      public SculkSpreadManager(boolean worldGen, TagKey<Block> replaceableTag, int extraBlockChance, int maxDistance, int spreadChance, int decayChance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwi;<init>(ZLanl;IIII)V
      intermediary <init> Lnet/minecraft/class_7128;<init>(ZLnet/minecraft/class_6862;IIII)V
      named <init> Lnet/minecraft/block/entity/SculkSpreadManager;<init>(ZLnet/minecraft/registry/tag/TagKey;IIII)V
  • Method Details

    • create

      public static SculkSpreadManager create()
      Mappings:
      Namespace Name Mixin selector
      official a Lcwi;a()Lcwi;
      intermediary method_41478 Lnet/minecraft/class_7128;method_41478()Lnet/minecraft/class_7128;
      named create Lnet/minecraft/block/entity/SculkSpreadManager;create()Lnet/minecraft/block/entity/SculkSpreadManager;
    • createWorldGen

      public static SculkSpreadManager createWorldGen()
      Mappings:
      Namespace Name Mixin selector
      official b Lcwi;b()Lcwi;
      intermediary method_41485 Lnet/minecraft/class_7128;method_41485()Lnet/minecraft/class_7128;
      named createWorldGen Lnet/minecraft/block/entity/SculkSpreadManager;createWorldGen()Lnet/minecraft/block/entity/SculkSpreadManager;
    • getReplaceableTag

      public TagKey<Block> getReplaceableTag()
      Mappings:
      Namespace Name Mixin selector
      official c Lcwi;c()Lanl;
      intermediary method_41487 Lnet/minecraft/class_7128;method_41487()Lnet/minecraft/class_6862;
      named getReplaceableTag Lnet/minecraft/block/entity/SculkSpreadManager;getReplaceableTag()Lnet/minecraft/registry/tag/TagKey;
    • getExtraBlockChance

      public int getExtraBlockChance()
      Mappings:
      Namespace Name Mixin selector
      official d Lcwi;d()I
      intermediary method_41488 Lnet/minecraft/class_7128;method_41488()I
      named getExtraBlockChance Lnet/minecraft/block/entity/SculkSpreadManager;getExtraBlockChance()I
    • getMaxDistance

      public int getMaxDistance()
      Mappings:
      Namespace Name Mixin selector
      official e Lcwi;e()I
      intermediary method_41489 Lnet/minecraft/class_7128;method_41489()I
      named getMaxDistance Lnet/minecraft/block/entity/SculkSpreadManager;getMaxDistance()I
    • getSpreadChance

      public int getSpreadChance()
      Mappings:
      Namespace Name Mixin selector
      official f Lcwi;f()I
      intermediary method_41490 Lnet/minecraft/class_7128;method_41490()I
      named getSpreadChance Lnet/minecraft/block/entity/SculkSpreadManager;getSpreadChance()I
    • getDecayChance

      public int getDecayChance()
      Mappings:
      Namespace Name Mixin selector
      official g Lcwi;g()I
      intermediary method_41491 Lnet/minecraft/class_7128;method_41491()I
      named getDecayChance Lnet/minecraft/block/entity/SculkSpreadManager;getDecayChance()I
    • isWorldGen

      public boolean isWorldGen()
      Mappings:
      Namespace Name Mixin selector
      official h Lcwi;h()Z
      intermediary method_41492 Lnet/minecraft/class_7128;method_41492()Z
      named isWorldGen Lnet/minecraft/block/entity/SculkSpreadManager;isWorldGen()Z
    • getCursors

      public List<SculkSpreadManager.Cursor> getCursors()
      Mappings:
      Namespace Name Mixin selector
      official i Lcwi;i()Ljava/util/List;
      intermediary method_41493 Lnet/minecraft/class_7128;method_41493()Ljava/util/List;
      named getCursors Lnet/minecraft/block/entity/SculkSpreadManager;getCursors()Ljava/util/List;
    • clearCursors

      public void clearCursors()
      Mappings:
      Namespace Name Mixin selector
      official j Lcwi;j()V
      intermediary method_41494 Lnet/minecraft/class_7128;method_41494()V
      named clearCursors Lnet/minecraft/block/entity/SculkSpreadManager;clearCursors()V
    • readNbt

      public void readNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwi;a(Lqr;)V
      intermediary method_41483 Lnet/minecraft/class_7128;method_41483(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/block/entity/SculkSpreadManager;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Lcwi;b(Lqr;)V
      intermediary method_41486 Lnet/minecraft/class_7128;method_41486(Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/block/entity/SculkSpreadManager;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • spread

      public void spread(BlockPos pos, int charge)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwi;a(Lgu;I)V
      intermediary method_41482 Lnet/minecraft/class_7128;method_41482(Lnet/minecraft/class_2338;I)V
      named spread Lnet/minecraft/block/entity/SculkSpreadManager;spread(Lnet/minecraft/util/math/BlockPos;I)V
    • addCursor

      private void addCursor(SculkSpreadManager.Cursor cursor)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwi;a(Lcwi$a;)V
      intermediary method_41480 Lnet/minecraft/class_7128;method_41480(Lnet/minecraft/class_7128$class_7129;)V
      named addCursor Lnet/minecraft/block/entity/SculkSpreadManager;addCursor(Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;)V
    • tick

      public void tick(WorldAccess world, BlockPos pos, Random random, boolean shouldConvertToBlock)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwi;a(Lcmn;Lgu;Lapf;Z)V
      intermediary method_41479 Lnet/minecraft/class_7128;method_41479(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Z)V
      named tick Lnet/minecraft/block/entity/SculkSpreadManager;tick(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Z)V