net.minecraft.world.level.block

public class CarvedPumpkinBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dgs
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 com.mojang.serialization.MapCodec<CarvedPumpkinBlock>
a
CODEC
field_46304
CODEC
f_302365_
public static final DirectionProperty
b
FACING
field_10748
FACING
f_51367_
private BlockPattern
c
snowGolemBase
field_10749
snowGolemDispenserPattern
f_51368_
private BlockPattern
d
snowGolemFull
field_10750
snowGolemPattern
f_51369_
private BlockPattern
e
ironGolemBase
field_10752
ironGolemDispenserPattern
f_51370_
private BlockPattern
f
ironGolemFull
field_10753
ironGolemPattern
f_51371_
private static final Predicate<BlockState>
g
PUMPKINS_PREDICATE
field_10751
IS_GOLEM_HEAD_PREDICATE
f_51372_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends CarvedPumpkinBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected void
b(dtc arg0, dcw arg1, jd arg2, dtc 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(dcz arg0, jd 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(dcw arg0, jd 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(dcw arg0, dth$b arg1, bsr arg2, jd 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(dcw arg0, dth$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(dcw arg0, dth$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(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dtd$a<dfy, dtc> 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
b()
getOrCreateSnowGolemBase()
method_9732()
getSnowGolemDispenserPattern()
m_51392_()
private BlockPattern
m()
getOrCreateSnowGolemFull()
method_9729()
getSnowGolemPattern()
m_51393_()
private BlockPattern
y()
getOrCreateIronGolemBase()
method_9727()
getIronGolemDispenserPattern()
m_51394_()
private BlockPattern
z()
getOrCreateIronGolemFull()
method_9730()
getIronGolemPattern()
m_51397_()