Class HeavyCoreBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class HeavyCoreBlock extends Block
Mappings:
Namespace Name
official dgo
intermediary net/minecraft/class_9366
named net/minecraft/block/HeavyCoreBlock
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<HeavyCoreBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_49831 Lnet/minecraft/class_9366;field_49831:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/HeavyCoreBlock;CODEC:Lcom/mojang/serialization/MapCodec;
    • SHAPE

      private static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      official c Ldgo;c:Lety;
      intermediary field_49833 Lnet/minecraft/class_9366;field_49833:Lnet/minecraft/class_265;
      named SHAPE Lnet/minecraft/block/HeavyCoreBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • ORIENTATION

      public static final EnumProperty<Orientation> ORIENTATION
      Mappings:
      Namespace Name Mixin selector
      official b Ldgo;b:Ldqw;
      intermediary field_49832 Lnet/minecraft/class_9366;field_49832:Lnet/minecraft/class_2754;
      named ORIENTATION Lnet/minecraft/block/HeavyCoreBlock;ORIENTATION:Lnet/minecraft/state/property/EnumProperty;
  • Constructor Details

    • HeavyCoreBlock

      public HeavyCoreBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldpx;<init>(Ldpx$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<HeavyCoreBlock> getCodec()
      Overrides:
      getCodec in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Ldpx;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;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Appends block state properties to this block. To use this, override and call StateManager.Builder.add(net.minecraft.state.property.Property<?>[]) inside the method. See Properties for the list of pre-defined properties.
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Ldcv;a(Ldpz$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • rotate

      protected BlockState rotate(BlockState state, BlockRotation rotation)
      Returns state rotated by rotation.

      By default, this returns the provided block state.

      Overrides:
      rotate in class AbstractBlock
      Returns:
      state rotated by rotation
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldpx;a(Ldpy;Ldji;)Ldpy;
      intermediary method_9598 Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
      named rotate Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • mirror

      protected BlockState mirror(BlockState state, BlockMirror mirror)
      Returns state mirrored by mirror.

      By default, this returns the provided block state.

      Overrides:
      mirror in class AbstractBlock
      Returns:
      state mirrored by mirror
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldpx;a(Ldpy;Ldhs;)Ldpy;
      intermediary method_9569 Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
      named mirror Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • getPlacementState

      public BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Ldcv;a(Lcvl;)Ldpy;
      intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
      named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
    • getOutlineShape

      protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldpx;a(Ldpy;Lcza;Lim;Letk;)Lety;
      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;
    • canPathfindThrough

      protected boolean canPathfindThrough(BlockState state, NavigationType type)
      Returns if an entity using navigation type type can navigate through this block.
      Overrides:
      canPathfindThrough in class AbstractBlock
      Returns:
      if an entity using navigation type type can navigate through this block
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldpx;a(Ldpy;Lemg;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z