Class ColoredFallingBlock

All Implemented Interfaces:
LandingBlock, ItemConvertible, ToggleableFeature

public class ColoredFallingBlock extends FallingBlock
Mappings:
Namespace Name
named net/minecraft/block/ColoredFallingBlock
intermediary net/minecraft/class_8812
official dhg
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ColoredFallingBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/ColoredFallingBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46316 Lnet/minecraft/class_8812;field_46316:Lcom/mojang/serialization/MapCodec;
      official a Ldhg;a:Lcom/mojang/serialization/MapCodec;
    • color

      private final ColorCode color
      Mappings:
      Namespace Name Mixin selector
      named color Lnet/minecraft/block/ColoredFallingBlock;color:Lnet/minecraft/util/ColorCode;
      intermediary field_46317 Lnet/minecraft/class_8812;field_46317:Lnet/minecraft/class_8805;
      official b Ldhg;b:Laxh;
  • Constructor Details

    • ColoredFallingBlock

      public ColoredFallingBlock(ColorCode color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/ColoredFallingBlock;<init>(Lnet/minecraft/util/ColorCode;Lnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_8812;<init>(Lnet/minecraft/class_8805;Lnet/minecraft/class_4970$class_2251;)V
      official <init> Ldhg;<init>(Laxh;Ldtb$d;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<ColoredFallingBlock> getCodec()
      Specified by:
      getCodec in class FallingBlock
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      official a Ldtb;a()Lcom/mojang/serialization/MapCodec;
    • getColor

      public int getColor(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getColor in class FallingBlock
      Mappings:
      Namespace Name Mixin selector
      named getColor Lnet/minecraft/block/FallingBlock;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_10130 Lnet/minecraft/class_2346;method_10130(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      official b Ldiu;b(Ldtc;Ldcc;Ljd;)I