net.minecraft.world.level.block

public abstract class AbstractCandleBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dif
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(dwy arg0)
getParticleOffsets(BlockState arg0)
method_31613(class_2680 arg0)
getParticleOffsets(BlockState state)
public static boolean
c(dwy arg0)
isLit(BlockState arg0)
method_35245(class_2680 arg0)
isLitCandle(BlockState state)
protected void
a(dgj arg0, dwy arg1, fax arg2, cpr 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(dwy arg0)
canBeLit(BlockState arg0)
method_35246(class_2680 arg0)
isNotLit(BlockState state)
public void
a(dwy arg0, dgj arg1, ji arg2, azh 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(dgj arg0, fbb arg1, azh 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(coy arg0, dwy arg1, dgk arg2, ji 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(dgk arg0, dwy arg1, ji 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(dwy arg0, ard arg1, ji arg2, dgb arg3, BiConsumer<cwq, ji> 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)