net.minecraft.world.level.block

public class CandleCakeBlock

extends AbstractCandleBlock

All mapped superinterfaces:

ItemLike

cjj
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 BooleanProperty
c
LIT
field_27183
LIT
f_152850_
protected static final float
d
AABB_OFFSET
field_31052
field_31052
f_152851_
protected static final VoxelShape
e
CAKE_SHAPE
field_27184
CAKE_SHAPE
f_152852_
protected static final VoxelShape
f
CANDLE_SHAPE
field_27185
CANDLE_SHAPE
f_152853_
protected static final VoxelShape
g
SHAPE
field_27186
SHAPE
f_152854_
private static final Map<Block, CandleCakeBlock>
h
BY_CANDLE
field_27187
CANDLES_TO_CANDLE_CAKES
f_152855_
private static final Iterable<Vec3>
i
PARTICLE_OFFSETS
field_27188
PARTICLE_OFFSETS
f_152856_

Constructor summary

ModifierConstructor
protected (Block candle, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
protected Iterable<Vec3>
a(cur arg0)
getParticleOffsets(BlockState arg0)
method_31613(class_2680 arg0)
getParticleOffsets(BlockState arg0)
m_142199_(C_2064_ arg0)
public VoxelShape
a(cur arg0, cfg arg1, gt arg2, dvy 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)
public InteractionResult
a(cur arg0, cga arg1, gt arg2, btf arg3, azl arg4, dvp arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_152885_, C_1596_ p_152886_, C_4675_ p_152887_, C_1141_ p_152888_, C_470_ p_152889_, C_3041_ arg5)
private static boolean
a(dvp arg0)
candleHit(BlockHitResult arg0)
method_31634(class_3965 arg0)
isHittingCandle(BlockHitResult hitResult)
m_152906_(C_3041_ p_152907_)
protected void
a(cus$a<ciw, cur> 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_2066_<C_1706_, C_2064_> arg0)
public ItemStack
a(cfg arg0, gt arg1, cur arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1559_ p_152863_, C_4675_ p_152864_, C_2064_ arg2)
public BlockState
a(cur arg0, gy arg1, cur arg2, cgb arg3, gt arg4, gt 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)
public boolean
a(cur arg0, cgd arg1, gt 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)
public int
a(cur arg0, cga arg1, gt 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)
public boolean
d_(cur arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public boolean
a(cur arg0, cfg arg1, gt arg2, dpp arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_152871_, C_1559_ p_152872_, C_4675_ p_152873_, C_2754_ arg3)
public static BlockState
a(ciw arg0)
byCandle(Block arg0)
method_31632(class_2248 arg0)
getCandleCakeFromCandle(Block candle)
m_152865_(C_1706_ p_152866_)
public static boolean
g(cur arg0)
canLight(BlockState arg0)
method_31635(class_2680 arg0)
canBeLit(BlockState state)
m_152910_(C_2064_ p_152911_)