Class StainedGlassPaneBlock

All Implemented Interfaces:
FluidDrainable, FluidFillable, Stainable, Waterloggable, ItemConvertible, ToggleableFeature

public class StainedGlassPaneBlock extends PaneBlock implements Stainable
Mappings:
Namespace Name
official dbm
intermediary net/minecraft/class_2504
named net/minecraft/block/StainedGlassPaneBlock
  • Field Details

    • color

      private final DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official i Ldbm;i:Lcie;
      intermediary field_11554 Lnet/minecraft/class_2504;field_11554:Lnet/minecraft/class_1767;
      named color Lnet/minecraft/block/StainedGlassPaneBlock;color:Lnet/minecraft/util/DyeColor;
  • Constructor Details

    • StainedGlassPaneBlock

      public StainedGlassPaneBlock(DyeColor color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbm;<init>(Lcie;Ldgg$d;)V
      intermediary <init> Lnet/minecraft/class_2504;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/StainedGlassPaneBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getColor

      public DyeColor getColor()
      Specified by:
      getColor in interface Stainable
      Mappings:
      Namespace Name Mixin selector
      official a Lctd;a()Lcie;
      intermediary method_10622 Lnet/minecraft/class_4275;method_10622()Lnet/minecraft/class_1767;
      named getColor Lnet/minecraft/block/Stainable;getColor()Lnet/minecraft/util/DyeColor;
    • shouldLetAirThrough

      public boolean shouldLetAirThrough(BlockState state, ServerWorld world, BlockPos pos, Direction direction)
      Overrides:
      shouldLetAirThrough in class PaneBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldgg;a(Ldgh;Laik;Lgt;Lgz;)Z
      intermediary method_50846 Lnet/minecraft/class_4970;method_50846(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named shouldLetAirThrough Lnet/minecraft/block/AbstractBlock;shouldLetAirThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z