Class SculkBlock

All Implemented Interfaces:
SculkSpreadable, ItemConvertible, ToggleableFeature

public class SculkBlock extends ExperienceDroppingBlock implements SculkSpreadable
Mappings:
Namespace Name
official cvv
intermediary net/minecraft/class_7125
named net/minecraft/block/SculkBlock
  • Constructor Details

    • SculkBlock

      public SculkBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbp;<init>(Ldbp$d;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • spread

      public int spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock)
      Specified by:
      spread in interface SculkSpreadable
      Mappings:
      Namespace Name Mixin selector
      official a Lcvu;a(Lcvz$a;Lcmj;Lgt;Lapo;Lcvz;Z)I
      intermediary method_41471 Lnet/minecraft/class_7124;method_41471(Lnet/minecraft/class_7128$class_7129;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_7128;Z)I
      named spread Lnet/minecraft/block/SculkSpreadable;spread(Lnet/minecraft/block/entity/SculkSpreadManager$Cursor;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/block/entity/SculkSpreadManager;Z)I
    • getDecay

      private static int getDecay(SculkSpreadManager spreadManager, BlockPos cursorPos, BlockPos catalystPos, int charge)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvv;a(Lcvz;Lgt;Lgt;I)I
      intermediary method_41476 Lnet/minecraft/class_7125;method_41476(Lnet/minecraft/class_7128;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;I)I
      named getDecay Lnet/minecraft/block/SculkBlock;getDecay(Lnet/minecraft/block/entity/SculkSpreadManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;I)I
    • getExtraBlockState

      private BlockState getExtraBlockState(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvv;a(Lcmj;Lgt;Lapo;Z)Ldbq;
      intermediary method_41475 Lnet/minecraft/class_7125;method_41475(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;Z)Lnet/minecraft/class_2680;
      named getExtraBlockState Lnet/minecraft/block/SculkBlock;getExtraBlockState(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Z)Lnet/minecraft/block/BlockState;
    • shouldNotDecay

      private static boolean shouldNotDecay(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvv;a(Lcmj;Lgt;)Z
      intermediary method_41474 Lnet/minecraft/class_7125;method_41474(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
      named shouldNotDecay Lnet/minecraft/block/SculkBlock;shouldNotDecay(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • shouldConvertToSpreadable

      public boolean shouldConvertToSpreadable()
      Specified by:
      shouldConvertToSpreadable in interface SculkSpreadable
      Mappings:
      Namespace Name Mixin selector
      official b Lcvu;b()Z
      intermediary method_41472 Lnet/minecraft/class_7124;method_41472()Z
      named shouldConvertToSpreadable Lnet/minecraft/block/SculkSpreadable;shouldConvertToSpreadable()Z