Class StructureBlock

All Implemented Interfaces:
BlockEntityProvider, OperatorBlock, ItemConvertible, ToggleableFeature

public class StructureBlock extends BlockWithEntity implements OperatorBlock
Mappings:
Namespace Name
named net/minecraft/block/StructureBlock
intermediary net/minecraft/class_2515
official dmy
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<StructureBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/StructureBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46465 Lnet/minecraft/class_2515;field_46465:Lcom/mojang/serialization/MapCodec;
      official a Ldmy;a:Lcom/mojang/serialization/MapCodec;
    • MODE

      public static final EnumProperty<StructureBlockMode> MODE
      Mappings:
      Namespace Name Mixin selector
      named MODE Lnet/minecraft/block/StructureBlock;MODE:Lnet/minecraft/state/property/EnumProperty;
      intermediary field_11586 Lnet/minecraft/class_2515;field_11586:Lnet/minecraft/class_2754;
      official b Ldmy;b:Ldtb;
  • Constructor Details

    • StructureBlock

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