net.minecraft.block

public class WitherSkullBlock

extends SkullBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, BlockEntityProvider

net.minecraft.world.level.block.WitherSkullBlock
net.minecraft.class_2570
net.minecraft.block.WitherSkullBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WitherSkullBlock>
CODEC
field_46504
CODEC
private static BlockPattern
witherPatternFull
field_11765
witherBossPattern
private static BlockPattern
witherPatternBase
field_11764
witherDispenserPattern

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<WitherSkullBlock>
codec()
method_53969()
getCodec()
public void
setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity by, ItemStack itemStack)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
public static void
checkSpawn(Level level, BlockPos pos)
method_56119(class_1937 arg0, class_2338 arg1)
onPlaced(World world, BlockPos pos)
public static void
checkSpawn(Level level, BlockPos pos, SkullBlockEntity placedSkull)
method_10898(class_1937 arg0, class_2338 arg1, class_2631 arg2)
onPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity)
public static boolean
canSpawnMob(Level level, BlockPos pos, ItemStack itemStack)
method_10899(class_1937 arg0, class_2338 arg1, class_1799 arg2)
canDispense(World world, BlockPos pos, ItemStack stack)
private static BlockPattern
getOrCreateWitherFull()
method_10900()
getWitherBossPattern()
private static BlockPattern
getOrCreateWitherBase()
method_10897()
getWitherDispenserPattern()
private static boolean
lambda$getOrCreateWitherBase$1(BlockInWorld arg0)
method_51174(class_2694 arg0)
method_51174(CachedBlockPosition pos)
private static boolean
lambda$getOrCreateWitherBase$0(BlockInWorld arg0)
method_24798(class_2694 arg0)
method_24798(CachedBlockPosition pos)
private static boolean
lambda$getOrCreateWitherFull$1(BlockInWorld arg0)
method_51175(class_2694 arg0)
method_51175(CachedBlockPosition pos)
private static boolean
lambda$getOrCreateWitherFull$0(BlockInWorld arg0)
method_24799(class_2694 arg0)
method_24799(CachedBlockPosition pos)