net.minecraft.world.level.block

public abstract class AbstractCandleBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dje
net.minecraft.world.level.block.AbstractCandleBlock
net.minecraft.class_5540
net.minecraft.block.AbstractCandleBlock
net.minecraft.world.level.block.AbstractCandleBlock

Field summary

Modifier and TypeField
public static final int
a
LIGHT_PER_CANDLE
field_30987
field_30987
public static final BooleanProperty
b
LIT
field_27083
LIT

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends AbstractCandleBlock>
a()
codec()
method_53969()
getCodec()
protected abstract Iterable<Vec3>
b(dxv arg0)
getParticleOffsets(BlockState arg0)
method_31613(class_2680 arg0)
getParticleOffsets(BlockState state)
public static boolean
c(dxv arg0)
isLit(BlockState arg0)
method_35245(class_2680 arg0)
isLitCandle(BlockState state)
protected void
a(dhi arg0, dxv arg1, fbu arg2, cqq arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
protected boolean
d(dxv arg0)
canBeLit(BlockState arg0)
method_35246(class_2680 arg0)
isNotLit(BlockState state)
public void
a(dxv arg0, dhi arg1, jh arg2, bam arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
private static void
a(dhi arg0, fby arg1, bam arg2)
addParticlesAndSound(Level arg0, Vec3 arg1, RandomSource arg2)
method_31610(class_1937 arg0, class_243 arg1, class_5819 arg2)
spawnCandleParticles(World world, Vec3d vec3d, Random random)
public static void
a(cpx arg0, dxv arg1, dhj arg2, jh arg3)
extinguish(Player arg0, BlockState arg1, LevelAccessor arg2, BlockPos arg3)
method_31614(class_1657 arg0, class_2680 arg1, class_1936 arg2, class_2338 arg3)
extinguish(PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos)
private static void
a(dhj arg0, dxv arg1, jh arg2, boolean arg3)
setLit(LevelAccessor arg0, BlockState arg1, BlockPos arg2, boolean arg3)
method_31612(class_1936 arg0, class_2680 arg1, class_2338 arg2, boolean arg3)
setLit(WorldAccess world, BlockState state, BlockPos pos, boolean lit)
protected void
a(dxv arg0, ash arg1, jh arg2, dha arg3, BiConsumer<cxp, jh> arg4)
onExplosionHit(BlockState arg0, ServerLevel arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
method_55124(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1927 arg3, BiConsumer<class_1799, class_2338> arg4)
onExploded(BlockState arg0, ServerWorld arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)