Class TintedGlassBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

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

    • CODEC

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

    • TintedGlassBlock

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

    • getCodec

      public com.mojang.serialization.MapCodec<TintedGlassBlock> getCodec()
      Overrides:
      getCodec in class TransparentBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
    • isTransparent

      public boolean isTransparent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTransparent in class TransparentBlock
      Mappings:
      Namespace Name Mixin selector
      official a_ Lcwq;a_(Ldjh;Lcsv;Lhx;)Z
      intermediary method_9579 Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named isTransparent Lnet/minecraft/block/Block;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • getOpacity

      public int getOpacity(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOpacity in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official g Ldjg;g(Ldjh;Lcsv;Lhx;)I
      intermediary method_9505 Lnet/minecraft/class_4970;method_9505(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
      named getOpacity Lnet/minecraft/block/AbstractBlock;getOpacity(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I