Class SpongeBlock

All Implemented Interfaces:
ItemConvertible

public class SpongeBlock extends Block
Mappings:
Namespace Name
official cjq
intermediary net/minecraft/class_2502
named net/minecraft/block/SpongeBlock
  • Field Details

    • field_31250

      public static final int field_31250
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcjq;a:I
      intermediary field_31250 Lnet/minecraft/class_2502;field_31250:I
      named field_31250 Lnet/minecraft/block/SpongeBlock;field_31250:I
    • field_31251

      public static final int field_31251
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcjq;b:I
      intermediary field_31251 Lnet/minecraft/class_2502;field_31251:I
      named field_31251 Lnet/minecraft/block/SpongeBlock;field_31251:I
  • Constructor Details

    • SpongeBlock

      protected SpongeBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcob;<init>(Lcob$c;)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

    • onBlockAdded

      public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
      Overrides:
      onBlockAdded in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lcob;b(Lcoc;Lcad;Lgh;Lcoc;Z)V
      intermediary method_9615 Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
      named onBlockAdded Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • neighborUpdate

      public void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
      Overrides:
      neighborUpdate in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lcad;Lgh;Lccy;Lgh;Z)V
      intermediary method_9612 Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
      named neighborUpdate Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
    • update

      protected void update(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjq;a(Lcad;Lgh;)V
      intermediary method_10620 Lnet/minecraft/class_2502;method_10620(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named update Lnet/minecraft/block/SpongeBlock;update(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • absorbWater

      private boolean absorbWater(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcjq;b(Lcad;Lgh;)Z
      intermediary method_10619 Lnet/minecraft/class_2502;method_10619(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
      named absorbWater Lnet/minecraft/block/SpongeBlock;absorbWater(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z