net.minecraft.world.level.block

public class CarvedPumpkinBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dlh
net.minecraft.world.level.block.CarvedPumpkinBlock
net.minecraft.class_2276
net.minecraft.block.CarvedPumpkinBlock
net.minecraft.world.level.block.BlockPumpkinCarved

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CarvedPumpkinBlock>
a
CODEC
field_46304
CODEC
public static final EnumProperty<Direction>
b
FACING
field_10748
FACING
private BlockPattern
c
snowGolemBase
field_10749
snowGolemDispenserPattern
private BlockPattern
d
snowGolemFull
field_10750
snowGolemPattern
private BlockPattern
e
ironGolemBase
field_10752
ironGolemDispenserPattern
private BlockPattern
f
ironGolemFull
field_10753
ironGolemPattern
private static final Predicate<BlockState>
g
PUMPKINS_PREDICATE
field_10751
IS_GOLEM_HEAD_PREDICATE

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends CarvedPumpkinBlock>
a()
codec()
method_53969()
getCodec()
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public boolean
a(dhl arg0, jh arg1)
canSpawnGolem(LevelReader arg0, BlockPos arg1)
method_9733(class_4538 arg0, class_2338 arg1)
canDispense(WorldView world, BlockPos pos)
private void
a(dhi arg0, jh arg1)
trySpawnGolem(Level arg0, BlockPos arg1)
method_9731(class_1937 arg0, class_2338 arg1)
trySpawnEntity(World world, BlockPos pos)
private static void
a(dhi arg0, dya$b arg1, bvk arg2, jh arg3)
spawnGolemInWorld(Level arg0, BlockPattern$BlockPatternMatch arg1, Entity arg2, BlockPos arg3)
method_45455(class_1937 arg0, class_2700$class_2702 arg1, class_1297 arg2, class_2338 arg3)
spawnEntity(World world, BlockPattern$Result patternResult, Entity entity, BlockPos pos)
public static void
a(dhi arg0, dya$b arg1)
clearPatternBlocks(Level arg0, BlockPattern$BlockPatternMatch arg1)
method_45454(class_1937 arg0, class_2700$class_2702 arg1)
breakPatternBlocks(World world, BlockPattern$Result patternResult)
public static void
b(dhi arg0, dya$b arg1)
updatePatternBlocks(Level arg0, BlockPattern$BlockPatternMatch arg1)
method_45456(class_1937 arg0, class_2700$class_2702 arg1)
updatePatternBlocks(World world, BlockPattern$Result patternResult)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
private BlockPattern
b()
getOrCreateSnowGolemBase()
method_9732()
getSnowGolemDispenserPattern()
private BlockPattern
q()
getOrCreateSnowGolemFull()
method_9729()
getSnowGolemPattern()
private BlockPattern
r()
getOrCreateIronGolemBase()
method_9727()
getIronGolemDispenserPattern()
private BlockPattern
y()
getOrCreateIronGolemFull()
method_9730()
getIronGolemPattern()