net.minecraft.world.level.block

public class CampfireBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dkc
net.minecraft.world.level.block.CampfireBlock
net.minecraft.class_3922
net.minecraft.block.CampfireBlock
net.minecraft.world.level.block.BlockCampfire

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CampfireBlock>
a
CODEC
field_46297
CODEC
protected static final VoxelShape
b
SHAPE
field_17351
SHAPE
public static final BooleanProperty
c
LIT
field_17352
LIT
public static final BooleanProperty
d
SIGNAL_FIRE
field_17353
SIGNAL_FIRE
public static final BooleanProperty
e
WATERLOGGED
field_17354
WATERLOGGED
public static final EnumProperty<Direction>
f
FACING
field_17564
FACING
private static final VoxelShape
g
VIRTUAL_FENCE_POST
field_21580
SMOKEY_SHAPE
private static final int
h
SMOKE_DISTANCE
field_31049
field_31049
private final boolean
i
spawnParticles
field_23881
emitsParticles
private final int
j
fireDamage
field_25182
fireDamage

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()
getCodec()
protected InteractionResult
a(cwq arg0, dwy arg1, dgj arg2, ji arg3, coy arg4, bsk arg5, fax 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)
protected void
a(dwy arg0, dgj arg1, ji arg2, bum arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
protected void
a(dwy arg0, dgj arg1, ji arg2, dwy 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)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
private boolean
o(dwy arg0)
isSmokeSource(BlockState arg0)
method_17456(class_2680 arg0)
isSignalFireBaseBlock(BlockState state)
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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)
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)
public static void
a(bum arg0, dgk arg1, ji arg2, dwy arg3)
dowse(Entity arg0, LevelAccessor arg1, BlockPos arg2, BlockState arg3)
method_29288(class_1297 arg0, class_1936 arg1, class_2338 arg2, class_2680 arg3)
extinguish(Entity entity, WorldAccess world, BlockPos pos, BlockState state)
public boolean
a(dgk arg0, ji arg1, dwy arg2, eta arg3)
placeLiquid(LevelAccessor arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_10311(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
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)
public static void
a(dgj arg0, ji 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)
spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke)
public static boolean
a(dgj arg0, ji arg1)
isSmokeyPos(Level arg0, BlockPos arg1)
method_23895(class_1937 arg0, class_2338 arg1)
isLitCampfireInRange(World world, BlockPos pos)
public static boolean
h(dwy arg0)
isLitCampfire(BlockState arg0)
method_23896(class_2680 arg0)
isLitCampfire(BlockState state)
protected FluidState
b_(dwy arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected BlockState
a(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dwy arg0, dom arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public BlockEntity
a(ji arg0, dwy arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dgj arg0, dwy arg1, duc<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
protected boolean
a(dwy arg0, etp arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
public static boolean
i(dwy arg0)
canLight(BlockState arg0)
method_30035(class_2680 arg0)
canBeLit(BlockState state)