Class PedestalBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class PedestalBlock extends Block
Mappings:
Namespace Name
official dkt
intermediary net/minecraft/class_9557
named net/minecraft/block/PedestalBlock
  • Field Details

    • BOTTOM_SHAPE

      private static final VoxelShape BOTTOM_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official b Ldkt;b:Lexn;
      intermediary field_50854 Lnet/minecraft/class_9557;field_50854:Lnet/minecraft/class_265;
      named BOTTOM_SHAPE Lnet/minecraft/block/PedestalBlock;BOTTOM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • TOP_SHAPE

      private static final VoxelShape TOP_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official c Ldkt;c:Lexn;
      intermediary field_50855 Lnet/minecraft/class_9557;field_50855:Lnet/minecraft/class_265;
      named TOP_SHAPE Lnet/minecraft/block/PedestalBlock;TOP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • MAIN_SHAPE

      private static final VoxelShape MAIN_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official d Ldkt;d:Lexn;
      intermediary field_50856 Lnet/minecraft/class_9557;field_50856:Lnet/minecraft/class_265;
      named MAIN_SHAPE Lnet/minecraft/block/PedestalBlock;MAIN_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • SHAPE

      private static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      official e Ldkt;e:Lexn;
      intermediary field_50857 Lnet/minecraft/class_9557;field_50857:Lnet/minecraft/class_265;
      named SHAPE Lnet/minecraft/block/PedestalBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • CODEC

      public static final com.mojang.serialization.MapCodec<PedestalBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldkt;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_50853 Lnet/minecraft/class_9557;field_50853:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/PedestalBlock;CODEC:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • PedestalBlock

      public PedestalBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtb;<init>(Ldtb$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<PedestalBlock> getCodec()
      Overrides:
      getCodec in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Ldtb;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;
    • 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 Ldtb;a(Ldtc;Ldbg;Lir;Lewz;)Lexn;
      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;
    • getRaycastShape

      protected VoxelShape getRaycastShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getRaycastShape in class AbstractBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldtb;a(Ldtc;Ldbg;Lir;)Lexn;
      intermediary method_9584 Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getRaycastShape Lnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • onUseWithItem

      protected ItemActionResult onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
      Overrides:
      onUseWithItem in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldtb;a(Lcuh;Ldtc;Ldca;Lir;Lcly;Lbpz;Lewq;)Lbqc;
      intermediary method_55765 Lnet/minecraft/class_4970;method_55765(Lnet/minecraft/class_1799;Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_9062;
      named onUseWithItem Lnet/minecraft/block/AbstractBlock;onUseWithItem(Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ItemActionResult;