Class TransparentBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature
Direct Known Subclasses:
GrateBlock, StainedGlassBlock, TintedGlassBlock

public class TransparentBlock extends TranslucentBlock
Mappings:
Namespace Name
official dfb
intermediary net/minecraft/class_8923
named net/minecraft/block/TransparentBlock
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<TransparentBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Ldfb;b:Lcom/mojang/serialization/MapCodec;
      intermediary field_47087 Lnet/minecraft/class_8923;field_47087:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/TransparentBlock;CODEC:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • TransparentBlock

      protected TransparentBlock(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

      protected com.mojang.serialization.MapCodec<? extends TransparentBlock> getCodec()
      Overrides:
      getCodec in class TranslucentBlock
      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;
    • getCameraCollisionShape

      public VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getCameraCollisionShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c Ldjg;c(Ldjh;Lcsv;Lhx;Lely;)Lemm;
      intermediary method_26159 Lnet/minecraft/class_4970;method_26159(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getCameraCollisionShape Lnet/minecraft/block/AbstractBlock;getCameraCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getAmbientOcclusionLightLevel

      public float getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getAmbientOcclusionLightLevel in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official d Ldjg;d(Ldjh;Lcsv;Lhx;)F
      intermediary method_9575 Lnet/minecraft/class_4970;method_9575(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named getAmbientOcclusionLightLevel Lnet/minecraft/block/AbstractBlock;getAmbientOcclusionLightLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • isTransparent

      public boolean isTransparent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTransparent in class Block
      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