net.minecraft.world.level.block

public class CarvedPumpkinBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

ItemLike

bpr
net.minecraft.world.level.block.CarvedPumpkinBlock
net.minecraft.class_2276
net.minecraft.block.CarvedPumpkinBlock
net.minecraft.block.CarvedPumpkinBlock
net.minecraft.server.v1_15_R1.BlockPumpkinCarved

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_10748
FACING
field_196359_a
private BlockPattern
b
snowGolemBase
field_10749
snowGolemDispenserPattern
field_196361_b
private BlockPattern
c
snowGolemFull
field_10750
snowGolemPattern
field_196362_c
private BlockPattern
d
ironGolemBase
field_10752
ironGolemDispenserPattern
field_196363_y
private BlockPattern
e
ironGolemFull
field_10753
ironGolemPattern
field_196364_z
private static final Predicate<BlockState>
f
PUMPKINS_PREDICATE
field_10751
IS_PUMPKIN_PREDICATE
field_196360_A

Constructor summary

ModifierConstructor
protected (Block$Properties settings)

Method summary

Modifier and TypeMethod
public void
b(byg arg0, bjt arg1, fk arg2, byg 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)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public boolean
a(bjw arg0, fk arg1)
canSpawnGolem(LevelReader arg0, BlockPos arg1)
method_9733(class_4538 arg0, class_2338 arg1)
canDispense(WorldView arg0, BlockPos pos)
func_196354_a(IWorldReader arg0, BlockPos arg1)
private void
a(bjt arg0, fk arg1)
trySpawnGolem(Level arg0, BlockPos arg1)
method_9731(class_1937 arg0, class_2338 arg1)
trySpawnEntity(World world, BlockPos pos)
func_196358_b(World arg0, BlockPos arg1)
public BlockState
a(bcn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(byh$a<bpe, byg> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
private BlockPattern
c()
getOrCreateSnowGolemBase()
method_9732()
getSnowGolemDispenserPattern()
func_196353_d()
private BlockPattern
d()
getOrCreateSnowGolemFull()
method_9729()
getSnowGolemPattern()
func_196355_e()
getSnowmanShape()
private BlockPattern
e()
getOrCreateIronGolemBase()
method_9727()
getIronGolemDispenserPattern()
func_196356_f()
private BlockPattern
r()
getOrCreateIronGolemFull()
method_9730()
getIronGolemPattern()
func_196357_g()
getIronGolemShape()
public boolean
a(byg arg0, bjd arg1, fk arg2, akr<?> arg3)
isValidSpawn(BlockState arg0, BlockGetter arg1, BlockPos arg2, EntityType<?> arg3)
method_9523(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_1299<?> arg3)
allowsSpawning(BlockState arg0, BlockView arg1, BlockPos arg2, EntityType<?> arg3)
func_220067_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, EntityType<?> arg3)