net.minecraft.world.level.block

public class CarvedPumpkinBlock

extends HorizontalDirectionalBlock implements Wearable

All mapped superinterfaces:

ItemLike, Wearable, Vanishable

cag
net.minecraft.world.level.block.CarvedPumpkinBlock
net.minecraft.class_2276
net.minecraft.block.CarvedPumpkinBlock
net.minecraft.src.C_1724_
net.minecraft.world.level.block.BlockPumpkinCarved

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_10748
FACING
f_51367_
private BlockPattern
b
snowGolemBase
field_10749
snowGolemDispenserPattern
f_51368_
private BlockPattern
c
snowGolemFull
field_10750
snowGolemPattern
f_51369_
private BlockPattern
d
ironGolemBase
field_10752
ironGolemDispenserPattern
f_51370_
private BlockPattern
e
ironGolemFull
field_10753
ironGolemPattern
f_51371_
private static final Predicate<BlockState>
f
PUMPKINS_PREDICATE
field_10751
IS_GOLEM_HEAD_PREDICATE
f_51372_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public void
b(ckt arg0, bwq arg1, gg arg2, ckt 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)
m_6807_(C_2064_ p_51388_, C_1596_ p_51389_, C_4675_ p_51390_, C_2064_ p_51391_, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public boolean
a(bwt arg0, gg arg1)
canSpawnGolem(LevelReader arg0, BlockPos arg1)
method_9733(class_4538 arg0, class_2338 arg1)
canDispense(WorldView world, BlockPos pos)
m_51381_(C_1599_ p_51383_, C_4675_ arg1)
private void
a(bwq arg0, gg arg1)
trySpawnGolem(Level arg0, BlockPos arg1)
method_9731(class_1937 arg0, class_2338 arg1)
trySpawnEntity(World world, BlockPos pos)
m_51378_(C_1596_ p_51380_, C_4675_ arg1)
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(cku$a<bzp, ckt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
private BlockPattern
c()
getOrCreateSnowGolemBase()
method_9732()
getSnowGolemDispenserPattern()
m_51392_()
private BlockPattern
q()
getOrCreateSnowGolemFull()
method_9729()
getSnowGolemPattern()
m_51393_()
getSnowmanShape()
private BlockPattern
u()
getOrCreateIronGolemBase()
method_9727()
getIronGolemDispenserPattern()
m_51394_()
private BlockPattern
v()
getOrCreateIronGolemFull()
method_9730()
getIronGolemPattern()
m_51397_()
getIronGolemShape()