Class TranslucentBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature
Direct Known Subclasses:
HoneyBlock, IceBlock, SlimeBlock, TransparentBlock

public class TranslucentBlock extends Block
Mappings:
Namespace Name
named net/minecraft/block/TranslucentBlock
intermediary net/minecraft/class_2373
official dir
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<TranslucentBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/TranslucentBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46366 Lnet/minecraft/class_2373;field_46366:Lcom/mojang/serialization/MapCodec;
      official d Ldir;d:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • TranslucentBlock

      protected TranslucentBlock(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> Ldsd;<init>(Ldsd$d;)V
  • Method Details

    • getCodec

      protected com.mojang.serialization.MapCodec<? extends TranslucentBlock> getCodec()
      Overrides:
      getCodec in class Block
      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 Ldsd;a()Lcom/mojang/serialization/MapCodec;
    • isSideInvisible

      protected boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
      Overrides:
      isSideInvisible in class AbstractBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named isSideInvisible Lnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
      intermediary method_9522 Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
      official a Ldsd;a(Ldse;Ldse;Lje;)Z