net.minecraft.world.level.block

public class FireBlock

extends BaseFireBlock

All mapped superinterfaces:

ItemLike

ccd
net.minecraft.world.level.block.FireBlock
net.minecraft.class_2358
net.minecraft.block.FireBlock
net.minecraft.src.C_1790_
net.minecraft.world.level.block.BlockFire

Field summary

Modifier and TypeField
public static final int
c
MAX_AGE
field_31093
field_31093
f_153264_
public static final IntegerProperty
d
AGE
field_11092
AGE
f_53408_
public static final BooleanProperty
e
NORTH
field_11096
NORTH
f_53409_
public static final BooleanProperty
f
EAST
field_11094
EAST
f_53410_
public static final BooleanProperty
g
SOUTH
field_11089
SOUTH
f_53411_
public static final BooleanProperty
h
WEST
field_11088
WEST
f_53412_
public static final BooleanProperty
i
UP
field_11093
UP
f_53413_
private static final Map<Direction, BooleanProperty>
j
PROPERTY_BY_DIRECTION
field_11090
DIRECTION_PROPERTIES
f_53414_
private static final VoxelShape
k
UP_AABB
field_26653
UP_SHAPE
f_53415_
private static final VoxelShape
l
WEST_AABB
field_26654
WEST_SHAPE
f_53416_
private static final VoxelShape
m
EAST_AABB
field_26655
EAST_SHAPE
f_53417_
private static final VoxelShape
n
NORTH_AABB
field_26656
NORTH_SHAPE
f_53418_
private static final VoxelShape
F
SOUTH_AABB
field_26657
SOUTH_SHAPE
f_53419_
private final Map<BlockState, VoxelShape>
G
shapesCache
field_26658
shapesByState
f_53420_
private static final int
H
FLAME_INSTANT
field_31085
field_31085
f_153256_
private static final int
I
FLAME_EASY
field_31086
field_31086
f_153257_
private static final int
J
FLAME_MEDIUM
field_31087
field_31087
f_153258_
private static final int
K
FLAME_HARD
field_31088
field_31088
f_153259_
private static final int
L
BURN_INSTANT
field_31089
field_31089
f_153260_
private static final int
M
BURN_EASY
field_31090
field_31090
f_153261_
private static final int
N
BURN_MEDIUM
field_31091
field_31091
f_153262_
private static final int
O
BURN_HARD
field_31092
field_31092
f_153263_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
P
flameOdds
field_11095
burnChances
f_53421_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
Q
burnOdds
field_11091
spreadChances
f_53422_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
private static VoxelShape
h(ckt arg0)
calculateShape(BlockState arg0)
method_31016(class_2680 arg0)
getShapeForState(BlockState state)
m_53490_(C_2064_ p_53491_)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg 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_53459_, C_4687_ p_53460_, C_2064_ p_53461_, C_1598_ p_53462_, C_4675_ p_53463_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public VoxelShape
a(ckt arg0, bvu arg1, gg arg2, dnf 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_53475_, C_1559_ p_53476_, C_4675_ p_53477_, C_3051_ arg3)
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
protected BlockState
b(bvu arg0, gg arg1)
getStateForPlacement(BlockGetter arg0, BlockPos arg1)
method_10198(class_1922 arg0, class_2338 arg1)
getStateForPosition(BlockView world, BlockPos pos)
m_53470_(C_1559_ p_53472_, C_4675_ arg1)
getPlacedState(IBlockAccess arg0, BlockPosition arg1)
public boolean
a(ckt arg0, bwt arg1, gg 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_53455_, C_1599_ p_53456_, C_4675_ arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public void
a(ckt arg0, abr arg1, gg arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_53450_, C_12_ p_53451_, C_4675_ p_53452_, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
protected boolean
a(bwq arg0, gg arg1)
isNearRain(Level arg0, BlockPos arg1)
method_10192(class_1937 arg0, class_2338 arg1)
isRainingAround(World world, BlockPos pos)
m_53428_(C_1596_ p_53430_, C_4675_ arg1)
private int
n(ckt arg0)
getBurnOdd(BlockState arg0)
method_10190(class_2680 arg0)
getSpreadChance(BlockState state)
m_53492_(C_2064_ arg0)
getBurnChance(IBlockData arg0)
private int
o(ckt arg0)
getFlameOdds(BlockState arg0)
method_10191(class_2680 arg0)
getBurnChance(BlockState state)
m_53494_(C_2064_ arg0)
getFlameChance(IBlockData arg0)
private void
a(bwq arg0, gg arg1, int arg2, Random arg3, int arg4)
checkBurnOut(Level arg0, BlockPos arg1, int arg2, Random arg3, int arg4)
method_10196(class_1937 arg0, class_2338 arg1, int arg2, Random arg3, int arg4)
trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random rand, int currentAge)
m_53431_(C_1596_ p_53433_, C_4675_ p_53434_, int p_53435_, Random p_53436_, int arg4)
trySpread(World arg0, BlockPosition arg1, int arg2, Random arg3, int arg4)
private BlockState
a(bwr arg0, gg arg1, int arg2)
getStateWithAge(LevelAccessor arg0, BlockPos arg1, int arg2)
method_24855(class_1936 arg0, class_2338 arg1, int arg2)
getStateWithAge(WorldAccess world, BlockPos pos, int age)
m_53437_(C_1598_ p_53439_, C_4675_ p_53440_, int arg2)
private boolean
d(bvu arg0, gg arg1)
isValidFireLocation(BlockGetter arg0, BlockPos arg1)
method_10193(class_1922 arg0, class_2338 arg1)
areBlocksAroundFlammable(BlockView world, BlockPos pos)
m_53485_(C_1559_ p_53487_, C_4675_ arg1)
canBurn(IBlockAccess arg0, BlockPosition arg1)
private int
a(bwt arg0, gg arg1)
getFireOdds(LevelReader arg0, BlockPos arg1)
method_10194(class_4538 arg0, class_2338 arg1)
getBurnChance(WorldView world, BlockPos pos)
m_53441_(C_1599_ p_53443_, C_4675_ arg1)
protected boolean
f(ckt arg0)
canBurn(BlockState arg0)
method_10195(class_2680 arg0)
isFlammable(BlockState arg0)
m_7599_(C_2064_ arg0)
public void
b(ckt arg0, bwq arg1, gg arg2, ckt arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
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)
m_6807_(C_2064_ p_53480_, C_1596_ p_53481_, C_4675_ p_53482_, C_2064_ p_53483_, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
private static int
a(Random arg0)
getFireTickDelay(Random arg0)
method_26155(Random arg0)
getFireTickDelay(Random random)
m_53468_(Random p_53469_)
protected void
a(cku$a<bzp, ckt> 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)
private void
a(bzp arg0, int arg1, int arg2)
setFlammable(Block arg0, int arg1, int arg2)
method_10189(class_2248 arg0, int arg1, int arg2)
registerFlammableBlock(Block block, int burnChance, int spreadChance)
m_53444_(C_1706_ p_53446_, int p_53447_, int arg2)
public static void
c()
bootStrap()
method_10199()
registerDefaultFlammables()
m_53484_()