net.minecraft.block

public abstract class AbstractFireBlock

extends Block

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.BaseFireBlock
net.minecraft.world.level.block.BaseFireBlock
net.minecraft.class_4770
net.minecraft.block.AbstractFireBlock

Field summary

Modifier and TypeField
private static final int
SECONDS_ON_FIRE
SECONDS_ON_FIRE
field_31008
SET_ON_FIRE_SECONDS
private static final int
MIN_FIRE_TICKS_TO_ADD
MIN_FIRE_TICKS_TO_ADD
field_54470
MIN_FIRE_TICK_INCREMENT
private static final int
MAX_FIRE_TICKS_TO_ADD
MAX_FIRE_TICKS_TO_ADD
field_54471
MAX_FIRE_TICK_INCREMENT
private final float
fireDamage
fireDamage
field_22088
damage
protected static final VoxelShape
SHAPE
SHAPE
field_55731
BASE_SHAPE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings settings, float damage)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends AbstractFireBlock>
codec()
codec()
method_53969()
getCodec()
public BlockState
getStateForPlacement(BlockPlaceContext context)
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public static BlockState
getState(BlockGetter level, BlockPos pos)
getState(BlockGetter level, BlockPos pos)
method_24416(class_1922 arg0, class_2338 arg1)
getState(BlockView world, BlockPos pos)
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
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
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
protected abstract boolean
canBurn(BlockState state)
canBurn(BlockState state)
method_10195(class_2680 arg0)
isFlammable(BlockState state)
protected void
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4, boolean arg5)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4, boolean arg5)
public static void
fireIgnite(Entity entity)
fireIgnite(Entity entity)
method_67678(class_1297 arg0)
igniteEntity(Entity entity)
protected void
onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
private static boolean
inPortalDimension(Level level)
inPortalDimension(Level level)
method_30366(class_1937 arg0)
isOverworldOrNether(World world)
protected void
spawnDestroyParticles(Level level, Player player, BlockPos pos, BlockState state)
spawnDestroyParticles(Level level, Player player, BlockPos pos, BlockState state)
method_33614(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3)
spawnBreakParticles(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3)
public BlockState
playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player)
playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public static boolean
canBePlacedAt(Level level, BlockPos pos, Direction forwardDirection)
canBePlacedAt(Level level, BlockPos pos, Direction forwardDirection)
method_30032(class_1937 arg0, class_2338 arg1, class_2350 arg2)
canPlaceAt(World world, BlockPos pos, Direction direction)
private static boolean
isPortal(Level level, BlockPos pos, Direction forwardDirection)
isPortal(Level level, BlockPos pos, Direction forwardDirection)
method_30033(class_1937 arg0, class_2338 arg1, class_2350 arg2)
shouldLightPortalAt(World world, BlockPos pos, Direction direction)