Class PumpkinBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class PumpkinBlock extends Block
Mappings:
Namespace Name
named net/minecraft/block/PumpkinBlock
intermediary net/minecraft/class_2445
official dqm
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<PumpkinBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/PumpkinBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46419 Lnet/minecraft/class_2445;field_46419:Lcom/mojang/serialization/MapCodec;
      official a Ldqm;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • PumpkinBlock

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

    • getCodec

      public com.mojang.serialization.MapCodec<PumpkinBlock> 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 Ldxt;a()Lcom/mojang/serialization/MapCodec;
    • onUseWithItem

      protected ActionResult 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
      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/ActionResult;
      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_1269;
      official a Ldxt;a(Lcxo;Ldxu;Ldhh;Ljh;Lcpw;Lbth;Lfbt;)Lbti;