Class SandBlock

All Implemented Interfaces:
LandingBlock, ItemConvertible, ToggleableFeature

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

    • color

      private final int color
      Mappings:
      Namespace Name Mixin selector
      official a Lcvr;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> Lcvr;<init>(ILdbp$d;)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 Lcrx;d(Ldbq;Lclo;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