Class SandBlock

All Implemented Interfaces:
LandingBlock, ItemConvertible

public class SandBlock extends FallingBlock
Mappings:
Namespace Name
official cpa
intermediary net/minecraft/class_2468
named net/minecraft/block/SandBlock
  • Field Details

    • color

      private final int color
      Mappings:
      Namespace Name Mixin selector
      official a Lcpa;a:I
      intermediary field_11462 Lnet/minecraft/class_2468;field_11462:I
      named color Lnet/minecraft/block/SandBlock;color:I
  • Constructor Details

    • SandBlock

      public SandBlock(int color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpa;<init>(ILcuq$c;)V
      intermediary <init> Lnet/minecraft/class_2468;<init>(ILnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/SandBlock;<init>(ILnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getColor

      public int getColor(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getColor in class FallingBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lclh;d(Lcur;Lcfg;Lgt;)I
      intermediary method_10130 Lnet/minecraft/class_2346;method_10130(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      named getColor Lnet/minecraft/block/FallingBlock;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I