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 doh
  • 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 Ldoh;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> Ldtb;<init>(Ldtb$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 Ldtb;a()Lcom/mojang/serialization/MapCodec;
    • isTransparent

      protected boolean isTransparent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTransparent in class TransparentBlock
      Mappings:
      Namespace Name Mixin selector
      named isTransparent Lnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_9579 Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      official a_ Ldtb;a_(Ldtc;Ldcc;Ljd;)Z
    • getOpacity

      protected int getOpacity(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOpacity in class AbstractBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getOpacity Lnet/minecraft/block/AbstractBlock;getOpacity(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_9505 Lnet/minecraft/class_4970;method_9505(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      official g Ldtb;g(Ldtc;Ldcc;Ljd;)I