Class StainedGlassBlock

All Implemented Interfaces:
Stainable, ItemConvertible, ToggleableFeature

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

    • CODEC

      public static final com.mojang.serialization.MapCodec<StainedGlassBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/StainedGlassBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46458 Lnet/minecraft/class_2506;field_46458:Lcom/mojang/serialization/MapCodec;
      official a Ldsg;a:Lcom/mojang/serialization/MapCodec;
    • color

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

    • StainedGlassBlock

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

    • getCodec

      public com.mojang.serialization.MapCodec<StainedGlassBlock> getCodec()
      Overrides:
      getCodec in class TransparentBlock
      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 Ldxt;a()Lcom/mojang/serialization/MapCodec;
    • getColor

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