net.minecraft.world.level.block

public class CampfireBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cxe
net.minecraft.world.level.block.CampfireBlock
net.minecraft.class_3922
net.minecraft.unmapped.C_gcjouocd
net.minecraft.block.CampfireBlock
net.minecraft.block.CampfireBlock
net.minecraft.src.C_1720_
net.minecraft.world.level.block.BlockCampfire

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CampfireBlock>
a
CODEC
field_46297
f_fontfleu
CODEC
f_302592_
protected static final VoxelShape
b
SHAPE
field_17351
f_ofxalugw
SHAPE
SHAPE
f_51226_
public static final BooleanProperty
c
LIT
field_17352
f_jmwlfywl
LIT
LIT
f_51227_
public static final BooleanProperty
d
SIGNAL_FIRE
field_17353
f_ygukbhme
SIGNAL_FIRE
SIGNAL_FIRE
f_51228_
public static final BooleanProperty
e
WATERLOGGED
field_17354
f_dpojoyfk
WATERLOGGED
WATERLOGGED
f_51229_
public static final DirectionProperty
f
FACING
field_17564
f_eskwedde
FACING
FACING
f_51230_
private static final VoxelShape
g
VIRTUAL_FENCE_POST
field_21580
f_umwzklzl
SMOKEY_SHAPE
SMOKEY_SHAPE
f_51231_
private static final int
h
SMOKE_DISTANCE
field_31049
f_xczudktw
field_31049
SMOKE_RENDER_DISTANCE
f_152748_
private final boolean
i
spawnParticles
field_23881
f_xiocftdj
emitsParticles
emitsParticles
f_51232_
private final int
j
fireDamage
field_25182
f_mfjbfakw
fireDamage
fireDamage
f_51233_

Constructor summary

ModifierConstructor
public (boolean emitsParticles, int fireDamage, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CampfireBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public InteractionResult
a(djh arg0, ctp arg1, hx arg2, cfi arg3, bka arg4, elp 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)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_51275_, C_1596_ p_51276_, C_4675_ p_51277_, C_1141_ p_51278_, C_470_ p_51279_, C_3041_ arg5)
public void
a(djh arg0, ctp arg1, hx arg2, blv arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
m_lmjnycyw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_astfners arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
m_7892_(C_2064_ p_51270_, C_1596_ p_51271_, C_4675_ p_51272_, C_507_ arg3)
public void
a(djh arg0, ctp arg1, hx arg2, djh arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_51282_, C_1596_ p_51283_, C_4675_ p_51284_, C_2064_ p_51285_, boolean arg4)
public BlockState
a(cph arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(djh arg0, ic arg1, djh arg2, ctq arg3, hx arg4, hx 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)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_51299_, C_4687_ p_51300_, C_2064_ p_51301_, C_1598_ p_51302_, C_4675_ p_51303_, C_4675_ arg5)
private boolean
n(djh arg0)
isSmokeSource(BlockState arg0)
method_17456(class_2680 arg0)
m_nefpojyl(C_txtbiemp arg0)
isSignalFireBaseBlock(BlockState state)
doesBlockCauseSignalFire(BlockState state)
m_51323_(C_2064_ arg0)
public VoxelShape
a(djh arg0, csv arg1, hx arg2, ely arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_51310_, C_1559_ p_51311_, C_4675_ p_51312_, C_3051_ arg3)
public RenderShape
b_(djh arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public void
a(djh arg0, ctp arg1, hx arg2, auv arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_220919_, C_1596_ p_220920_, C_4675_ p_220921_, C_212974_ arg3)
public static void
a(blv arg0, ctq arg1, hx arg2, djh arg3)
dowse(Entity arg0, LevelAccessor arg1, BlockPos arg2, BlockState arg3)
method_29288(class_1297 arg0, class_1936 arg1, class_2338 arg2, class_2680 arg3)
m_adjfdgei(C_astfners arg0, C_vdvbsyle arg1, C_hynzadkk arg2, C_txtbiemp arg3)
extinguish(Entity entity, WorldAccess world, BlockPos pos, BlockState state)
extinguish(Entity entity, WorldAccess world, BlockPos pos, BlockState state)
m_152749_(C_507_ p_152750_, C_1598_ p_152751_, C_4675_ p_152752_, C_2064_ p_152753_)
public boolean
a(ctq arg0, hx arg1, djh arg2, eer arg3)
placeLiquid(LevelAccessor arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_10311(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
m_ymsxgqxp(C_vdvbsyle arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xqketiuf arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
m_7361_(C_1598_ p_51258_, C_4675_ p_51259_, C_2064_ p_51260_, C_2691_ arg3)
public void
a(ctp arg0, djh arg1, elp arg2, cga arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
m_wvibjcmf(C_cdctfzbn arg0, C_txtbiemp arg1, C_jdakttms arg2, C_ltpsyvhj arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
m_5581_(C_1596_ p_51245_, C_2064_ p_51246_, C_3041_ p_51247_, C_1167_ arg3)
public static void
a(ctp arg0, hx arg1, boolean arg2, boolean arg3)
makeParticles(Level arg0, BlockPos arg1, boolean arg2, boolean arg3)
method_17455(class_1937 arg0, class_2338 arg1, boolean arg2, boolean arg3)
m_llezjudc(C_cdctfzbn arg0, C_hynzadkk arg1, boolean arg2, boolean arg3)
spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke)
spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke)
m_51251_(C_1596_ p_51252_, C_4675_ p_51253_, boolean p_51254_, boolean p_51255_)
public static boolean
a(ctp arg0, hx arg1)
isSmokeyPos(Level arg0, BlockPos arg1)
method_23895(class_1937 arg0, class_2338 arg1)
m_vehfpozy(C_cdctfzbn arg0, C_hynzadkk arg1)
isLitCampfireInRange(World world, BlockPos pos)
isLitCampfireInRange(World world, BlockPos pos)
m_51248_(C_1596_ p_51249_, C_4675_ p_51250_)
public static boolean
g(djh arg0)
isLitCampfire(BlockState arg0)
method_23896(class_2680 arg0)
m_lhwkhjgy(C_txtbiemp arg0)
isLitCampfire(BlockState state)
isLitCampfire(BlockState state)
m_51319_(C_2064_ p_51320_)
public FluidState
c_(djh arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public BlockState
a(djh arg0, ddc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_51296_, C_1886_ arg1)
public BlockState
a(djh arg0, dbm arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_51293_, C_1838_ arg1)
protected void
a(dji$a<cwq, djh> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockEntity
a(hx arg0, djh arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_152760_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(ctp arg0, djh arg1, dgx<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
m_ujgennlh(C_cdctfzbn arg0, C_txtbiemp arg1, C_wgqvodus<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_152756_, C_2064_ p_152757_, C_1992_<T> arg2)
public boolean
a(djh arg0, csv arg1, hx arg2, efh arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_51265_, C_1559_ p_51266_, C_4675_ p_51267_, C_2754_ arg3)
public static boolean
h(djh arg0)
canLight(BlockState arg0)
method_30035(class_2680 arg0)
m_gtkbhdox(C_txtbiemp arg0)
canBeLit(BlockState state)
canBeLit(BlockState state)
m_51321_(C_2064_ p_51322_)