Class StainedGlassPaneBlock

All Implemented Interfaces:
FluidDrainable, FluidFillable, Stainable, Waterloggable, ItemConvertible, ToggleableFeature

public class StainedGlassPaneBlock extends PaneBlock implements Stainable
Mappings:
Namespace Name
official dei
intermediary net/minecraft/class_2504
named net/minecraft/block/StainedGlassPaneBlock
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<StainedGlassPaneBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official j Ldei;j:Lcom/mojang/serialization/MapCodec;
      intermediary field_46459 Lnet/minecraft/class_2504;field_46459:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/StainedGlassPaneBlock;CODEC:Lcom/mojang/serialization/MapCodec;
    • color

      private final DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official k Ldei;k:Lclm;
      intermediary field_11554 Lnet/minecraft/class_2504;field_11554:Lnet/minecraft/class_1767;
      named color Lnet/minecraft/block/StainedGlassPaneBlock;color:Lnet/minecraft/util/DyeColor;
  • Constructor Details

    • StainedGlassPaneBlock

      public StainedGlassPaneBlock(DyeColor color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldei;<init>(Lclm;Ldjg$d;)V
      intermediary <init> Lnet/minecraft/class_2504;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/StainedGlassPaneBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<StainedGlassPaneBlock> getCodec()
      Overrides:
      getCodec in class PaneBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
    • getColor

      public DyeColor getColor()
      Specified by:
      getColor in interface Stainable
      Mappings:
      Namespace Name Mixin selector
      official b Lcwh;b()Lclm;
      intermediary method_10622 Lnet/minecraft/class_4275;method_10622()Lnet/minecraft/class_1767;
      named getColor Lnet/minecraft/block/Stainable;getColor()Lnet/minecraft/util/DyeColor;