net.minecraft.world.level.block

public class CarvedPumpkinBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

cqg
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(dcb arg0, cmm arg1, gu arg2, dcb 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)
public boolean
a(cmp arg0, gu 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(cmm arg0, gu 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)
private static void
a(cmm arg0, dcg$b arg1, bfj arg2, gu 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)
m_245952_(C_1596_ p_249110_, C_2071_$C_2073_ p_251293_, C_507_ p_251251_, C_4675_ p_251189_)
public static void
a(cmm arg0, dcg$b arg1)
clearPatternBlocks(Level arg0, BlockPattern$BlockPatternMatch arg1)
method_45454(class_1937 arg0, class_2700$class_2702 arg1)
breakPatternBlocks(World world, BlockPattern$Result patternResult)
m_245585_(C_1596_ p_249604_, C_2071_$C_2073_ p_251190_)
public static void
b(cmm arg0, dcg$b arg1)
updatePatternBlocks(Level arg0, BlockPattern$BlockPatternMatch arg1)
method_45456(class_1937 arg0, class_2700$class_2702 arg1)
updatePatternBlocks(World world, BlockPattern$Result patternResult)
m_246758_(C_1596_ p_248711_, C_2071_$C_2073_ p_251935_)
public BlockState
a(cih arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dcc$a<cpn, dcb> 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
a()
getOrCreateSnowGolemBase()
method_9732()
getSnowGolemDispenserPattern()
m_51392_()
private BlockPattern
g()
getOrCreateSnowGolemFull()
method_9729()
getSnowGolemPattern()
m_51393_()
private BlockPattern
u()
getOrCreateIronGolemBase()
method_9727()
getIronGolemDispenserPattern()
m_51394_()
private BlockPattern
v()
getOrCreateIronGolemFull()
method_9730()
getIronGolemPattern()
m_51397_()