Class CarvedPumpkinBlock

All Implemented Interfaces:
ItemConvertible, Vanishable, Wearable

public class CarvedPumpkinBlock extends HorizontalFacingBlock implements Wearable
Mappings:
Namespace Name
official caf
intermediary net/minecraft/class_2276
named net/minecraft/block/CarvedPumpkinBlock
  • Field Details

    • FACING

      public static final DirectionProperty FACING
      Mappings:
      Namespace Name Mixin selector
      official a Lcaf;a:Lclm;
      intermediary field_10748 Lnet/minecraft/class_2276;field_10748:Lnet/minecraft/class_2753;
      named FACING Lnet/minecraft/block/CarvedPumpkinBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
    • IS_GOLEM_HEAD_PREDICATE

      private static final Predicate<BlockState> IS_GOLEM_HEAD_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official f Lcaf;f:Ljava/util/function/Predicate;
      intermediary field_10751 Lnet/minecraft/class_2276;field_10751:Ljava/util/function/Predicate;
      named IS_GOLEM_HEAD_PREDICATE Lnet/minecraft/block/CarvedPumpkinBlock;IS_GOLEM_HEAD_PREDICATE:Ljava/util/function/Predicate;
    • snowGolemDispenserPattern

      @Nullable private @Nullable BlockPattern snowGolemDispenserPattern
      Mappings:
      Namespace Name Mixin selector
      official b Lcaf;b:Lckx;
      intermediary field_10749 Lnet/minecraft/class_2276;field_10749:Lnet/minecraft/class_2700;
      named snowGolemDispenserPattern Lnet/minecraft/block/CarvedPumpkinBlock;snowGolemDispenserPattern:Lnet/minecraft/block/pattern/BlockPattern;
    • snowGolemPattern

      @Nullable private @Nullable BlockPattern snowGolemPattern
      Mappings:
      Namespace Name Mixin selector
      official c Lcaf;c:Lckx;
      intermediary field_10750 Lnet/minecraft/class_2276;field_10750:Lnet/minecraft/class_2700;
      named snowGolemPattern Lnet/minecraft/block/CarvedPumpkinBlock;snowGolemPattern:Lnet/minecraft/block/pattern/BlockPattern;
    • ironGolemDispenserPattern

      @Nullable private @Nullable BlockPattern ironGolemDispenserPattern
      Mappings:
      Namespace Name Mixin selector
      official d Lcaf;d:Lckx;
      intermediary field_10752 Lnet/minecraft/class_2276;field_10752:Lnet/minecraft/class_2700;
      named ironGolemDispenserPattern Lnet/minecraft/block/CarvedPumpkinBlock;ironGolemDispenserPattern:Lnet/minecraft/block/pattern/BlockPattern;
    • ironGolemPattern

      @Nullable private @Nullable BlockPattern ironGolemPattern
      Mappings:
      Namespace Name Mixin selector
      official e Lcaf;e:Lckx;
      intermediary field_10753 Lnet/minecraft/class_2276;field_10753:Lnet/minecraft/class_2700;
      named ironGolemPattern Lnet/minecraft/block/CarvedPumpkinBlock;ironGolemPattern:Lnet/minecraft/block/pattern/BlockPattern;
  • Constructor Details

    • CarvedPumpkinBlock

      protected CarvedPumpkinBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lckr;<init>(Lckr$c;)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

    • onBlockAdded

      public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
      Overrides:
      onBlockAdded in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lckr;b(Lcks;Lbwp;Lgg;Lcks;Z)V
      intermediary method_9615 Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
      named onBlockAdded Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • canDispense

      public boolean canDispense(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaf;a(Lbws;Lgg;)Z
      intermediary method_9733 Lnet/minecraft/class_2276;method_9733(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named canDispense Lnet/minecraft/block/CarvedPumpkinBlock;canDispense(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
    • trySpawnEntity

      private void trySpawnEntity(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaf;a(Lbwp;Lgg;)V
      intermediary method_9731 Lnet/minecraft/class_2276;method_9731(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named trySpawnEntity Lnet/minecraft/block/CarvedPumpkinBlock;trySpawnEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • getPlacementState

      public BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbzo;a(Lbsp;)Lcks;
      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;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbzo;a(Lckt$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
    • getSnowGolemDispenserPattern

      private BlockPattern getSnowGolemDispenserPattern()
      Mappings:
      Namespace Name Mixin selector
      official c Lcaf;c()Lckx;
      intermediary method_9732 Lnet/minecraft/class_2276;method_9732()Lnet/minecraft/class_2700;
      named getSnowGolemDispenserPattern Lnet/minecraft/block/CarvedPumpkinBlock;getSnowGolemDispenserPattern()Lnet/minecraft/block/pattern/BlockPattern;
    • getSnowGolemPattern

      private BlockPattern getSnowGolemPattern()
      Mappings:
      Namespace Name Mixin selector
      official q Lcaf;q()Lckx;
      intermediary method_9729 Lnet/minecraft/class_2276;method_9729()Lnet/minecraft/class_2700;
      named getSnowGolemPattern Lnet/minecraft/block/CarvedPumpkinBlock;getSnowGolemPattern()Lnet/minecraft/block/pattern/BlockPattern;
    • getIronGolemDispenserPattern

      private BlockPattern getIronGolemDispenserPattern()
      Mappings:
      Namespace Name Mixin selector
      official u Lcaf;u()Lckx;
      intermediary method_9727 Lnet/minecraft/class_2276;method_9727()Lnet/minecraft/class_2700;
      named getIronGolemDispenserPattern Lnet/minecraft/block/CarvedPumpkinBlock;getIronGolemDispenserPattern()Lnet/minecraft/block/pattern/BlockPattern;
    • getIronGolemPattern

      private BlockPattern getIronGolemPattern()
      Mappings:
      Namespace Name Mixin selector
      official v Lcaf;v()Lckx;
      intermediary method_9730 Lnet/minecraft/class_2276;method_9730()Lnet/minecraft/class_2700;
      named getIronGolemPattern Lnet/minecraft/block/CarvedPumpkinBlock;getIronGolemPattern()Lnet/minecraft/block/pattern/BlockPattern;