Class StainedGlassBlock

All Implemented Interfaces:
Stainable, ItemConvertible, ToggleableFeature

public class StainedGlassBlock extends AbstractGlassBlock implements Stainable
Mappings:
Namespace Name
official cxc
intermediary net/minecraft/class_2506
named net/minecraft/block/StainedGlassBlock
  • Field Details

    • color

      private final DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official a Lcxc;a:Lcel;
      intermediary field_11558 Lnet/minecraft/class_2506;field_11558:Lnet/minecraft/class_1767;
      named color Lnet/minecraft/block/StainedGlassBlock;color:Lnet/minecraft/util/DyeColor;
  • Constructor Details

    • StainedGlassBlock

      public StainedGlassBlock(DyeColor color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxc;<init>(Lcel;Ldbx$d;)V
      intermediary <init> Lnet/minecraft/class_2506;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/StainedGlassBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getColor

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