net.minecraft.world.level.block

public class FireBlock

extends BaseFireBlock

All mapped superinterfaces:

ItemLike

cge
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
E
SOUTH_AABB
field_26657
SOUTH_SHAPE
f_53419_
private final Map<BlockState, VoxelShape>
F
shapesCache
field_26658
shapesByState
f_53420_
private static final int
G
FLAME_INSTANT
field_31085
field_31085
f_153256_
private static final int
H
FLAME_EASY
field_31086
field_31086
f_153257_
private static final int
I
FLAME_MEDIUM
field_31087
field_31087
f_153258_
private static final int
J
FLAME_HARD
field_31088
field_31088
f_153259_
private static final int
K
BURN_INSTANT
field_31089
field_31089
f_153260_
private static final int
L
BURN_EASY
field_31090
field_31090
f_153261_
private static final int
M
BURN_MEDIUM
field_31091
field_31091
f_153262_
private static final int
N
BURN_HARD
field_31092
field_31092
f_153263_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
O
flameOdds
field_11095
burnChances
f_53421_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
P
burnOdds
field_11091
spreadChances
f_53422_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
private static VoxelShape
h(cov arg0)
calculateShape(BlockState arg0)
method_31016(class_2680 arg0)
getShapeForState(BlockState state)
m_53490_(C_2064_ p_53491_)
public BlockState
a(cov arg0, go arg1, cov arg2, caw arg3, gj arg4, gj 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)
public VoxelShape
a(cov arg0, cab arg1, gj arg2, dpt 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(bww arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
b(cab arg0, gj 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)
public boolean
a(cov arg0, cay arg1, gj 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)
public void
a(cov arg0, adw arg1, gj 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)
protected boolean
a(cav arg0, gj 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(cov arg0)
getBurnOdd(BlockState arg0)
method_10190(class_2680 arg0)
getSpreadChance(BlockState state)
m_53492_(C_2064_ arg0)
private int
o(cov arg0)
getFlameOdds(BlockState arg0)
method_10191(class_2680 arg0)
getBurnChance(BlockState state)
m_53494_(C_2064_ arg0)
private void
a(cav arg0, gj 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)
private BlockState
a(caw arg0, gj 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(cab arg0, gj 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)
private int
a(cay arg0, gj 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(cov arg0)
canBurn(BlockState arg0)
method_10195(class_2680 arg0)
isFlammable(BlockState arg0)
m_7599_(C_2064_ arg0)
public void
b(cov arg0, cav arg1, gj arg2, cov 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)
private static int
a(Random arg0)
getFireTickDelay(Random arg0)
method_26155(Random arg0)
getFireTickDelay(Random random)
m_53468_(Random p_53469_)
protected void
a(cow$a<cdq, cov> 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(cdq 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_()