Class StructureVoidBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class StructureVoidBlock extends Block
Mappings:
Namespace Name
official deo
intermediary net/minecraft/class_2518
named net/minecraft/block/StructureVoidBlock
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<StructureVoidBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldeo;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_46466 Lnet/minecraft/class_2518;field_46466:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/StructureVoidBlock;CODEC:Lcom/mojang/serialization/MapCodec;
    • SHAPE_MARGIN

      private static final double SHAPE_MARGIN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldeo;b:D
      intermediary field_31257 Lnet/minecraft/class_2518;field_31257:D
      named SHAPE_MARGIN Lnet/minecraft/block/StructureVoidBlock;SHAPE_MARGIN:D
    • SHAPE

      private static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      official c Ldeo;c:Lemm;
      intermediary field_11589 Lnet/minecraft/class_2518;field_11589:Lnet/minecraft/class_265;
      named SHAPE Lnet/minecraft/block/StructureVoidBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
  • Constructor Details

    • StructureVoidBlock

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

      public com.mojang.serialization.MapCodec<StructureVoidBlock> getCodec()
      Overrides:
      getCodec in class Block
      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;
    • getRenderType

      public BlockRenderType getRenderType(BlockState state)
      Returns the block's render type (invisible, animated, model).
      Overrides:
      getRenderType in class AbstractBlock
      Returns:
      the block's render type (invisible, animated, model)
      Mappings:
      Namespace Name Mixin selector
      official b_ Ldjg;b_(Ldjh;)Ldcv;
      intermediary method_9604 Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;
      named getRenderType Lnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a(Ldjh;Lcsv;Lhx;Lely;)Lemm;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(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