Class GlassBlock

All Implemented Interfaces:
Itemable

public class GlassBlock extends TransparentBlock
Mappings:
Namespace Name
official bey
intermediary net/minecraft/class_140
named net/minecraft/block/GlassBlock
  • Constructor Details

    • GlassBlock

      public GlassBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
  • Method Details

    • isTranslucent

      public boolean isTranslucent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTranslucent in class Block
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbcs;a_(Lblc;Laxk;Lel;)Z
      intermediary method_16581 Lnet/minecraft/class_197;method_16581(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named isTranslucent Lnet/minecraft/block/Block;isTranslucent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_403

      public int method_403(BlockState blockState, Random random)
      Overrides:
      method_403 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Ljava/util/Random;)I
      intermediary method_403 Lnet/minecraft/class_197;method_403(Lnet/minecraft/class_2232;Ljava/util/Random;)I
      named method_403 Lnet/minecraft/block/Block;method_403(Lnet/minecraft/block/BlockState;Ljava/util/Random;)I
    • getRenderLayerType

      public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Overrides:
      getRenderLayerType in class Block
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official c Lbcs;c()Laxl;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • requiresSilkTouch

      protected boolean requiresSilkTouch()
      Overrides:
      requiresSilkTouch in class Block
      Mappings:
      Namespace Name Mixin selector
      official X_ Lbcs;X_()Z
      intermediary method_475 Lnet/minecraft/class_197;method_475()Z
      named requiresSilkTouch Lnet/minecraft/block/Block;requiresSilkTouch()Z