net.minecraft.world.level.block

public class CandleCakeBlock

extends AbstractCandleBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dgo
net.minecraft.world.level.block.CandleCakeBlock
net.minecraft.class_5545
net.minecraft.block.CandleCakeBlock
net.minecraft.src.C_141196_
net.minecraft.world.level.block.CandleCakeBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CandleCakeBlock>
c
CODEC
field_46299
CODEC
f_303827_
public static final BooleanProperty
d
LIT
field_27183
LIT
f_152850_
protected static final float
e
AABB_OFFSET
field_31052
field_31052
f_152851_
protected static final VoxelShape
f
CAKE_SHAPE
field_27184
CAKE_SHAPE
f_152852_
protected static final VoxelShape
g
CANDLE_SHAPE
field_27185
CANDLE_SHAPE
f_152853_
protected static final VoxelShape
h
SHAPE
field_27186
SHAPE
f_152854_
private static final Map<CandleBlock, CandleCakeBlock>
i
BY_CANDLE
field_27187
CANDLES_TO_CANDLE_CAKES
f_152855_
private static final Iterable<Vec3>
j
PARTICLE_OFFSETS
field_27188
PARTICLE_OFFSETS
f_152856_
private final CandleBlock
k
candleBlock
field_46300
candle
f_303804_

Constructor summary

ModifierConstructor
protected (Block candle, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CandleCakeBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected Iterable<Vec3>
b(dtc arg0)
getParticleOffsets(BlockState arg0)
method_31613(class_2680 arg0)
getParticleOffsets(BlockState arg0)
m_142199_(C_2064_ arg0)
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_152876_, C_1559_ p_152877_, C_4675_ p_152878_, C_3051_ arg3)
protected ItemInteractionResult
a(cuq arg0, dtc arg1, dcw arg2, jd arg3, cmx arg4, bqq arg5, ewy arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_331468_, C_2064_ p_329195_, C_1596_ p_334764_, C_4675_ p_333583_, C_1141_ p_329811_, C_470_ p_330359_, C_3041_ arg6)
protected InteractionResult
a(dtc arg0, dcw arg1, jd arg2, cmx arg3, ewy arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_329319_, C_1596_ p_331642_, C_4675_ p_333608_, C_1141_ p_336319_, C_3041_ arg4)
private static boolean
a(ewy arg0)
candleHit(BlockHitResult arg0)
method_31634(class_3965 arg0)
isHittingCandle(BlockHitResult hitResult)
m_152906_(C_3041_ p_152907_)
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)
public ItemStack
a(dcz arg0, jd arg1, dtc arg2)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1599_ p_152863_, C_4675_ p_152864_, C_2064_ arg2)
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_152899_, C_4687_ p_152900_, C_2064_ p_152901_, C_1598_ p_152902_, C_4675_ p_152903_, C_4675_ arg5)
protected boolean
a(dtc arg0, dcz arg1, jd arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_152892_, C_1599_ p_152893_, C_4675_ arg2)
protected int
a(dtc arg0, dcw arg1, jd arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_152881_, C_1596_ p_152882_, C_4675_ arg2)
protected boolean
c_(dtc arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected boolean
a(dtc arg0, ept arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_152873_, C_2754_ arg1)
public static BlockState
a(dgn arg0)
byCandle(CandleBlock arg0)
method_31632(class_5544 arg0)
getCandleCakeFromCandle(CandleBlock candle)
m_152865_(C_141195_ p_332754_)
public static boolean
g(dtc arg0)
canLight(BlockState arg0)
method_31635(class_2680 arg0)
canBeLit(BlockState state)
m_152910_(C_2064_ p_152911_)