Class TintedGlassBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class TintedGlassBlock extends TransparentBlock
Mappings:
Namespace Name
named net/minecraft/block/TintedGlassBlock
intermediary net/minecraft/class_5555
official dsw
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<TintedGlassBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/TintedGlassBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46473 Lnet/minecraft/class_5555;field_46473:Lcom/mojang/serialization/MapCodec;
      official a Ldsw;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • TintedGlassBlock

      public TintedGlassBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      official <init> Ldxt;<init>(Ldxt$d;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<TintedGlassBlock> 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;
    • isTransparent

      protected boolean isTransparent(BlockState state)
      Overrides:
      isTransparent in class TransparentBlock
      Mappings:
      Namespace Name Mixin selector
      named isTransparent Lnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;)Z
      intermediary method_9579 Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;)Z
      official e_ Ldxt;e_(Ldxu;)Z
    • getOpacity

      protected int getOpacity(BlockState state)
      Overrides:
      getOpacity in class AbstractBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getOpacity Lnet/minecraft/block/AbstractBlock;getOpacity(Lnet/minecraft/block/BlockState;)I
      intermediary method_9505 Lnet/minecraft/class_4970;method_9505(Lnet/minecraft/class_2680;)I
      official i_ Ldxt;i_(Ldxu;)I