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 dni
  • 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 Ldni;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> Ldsc;<init>(Ldsc$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 Ldsc;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_ Ldsc;a_(Ldsd;Ldbf;Liz;)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 Ldsc;g(Ldsd;Ldbf;Liz;)I