net.minecraft.world.level.block

public class FireBlock

extends BaseFireBlock

All mapped superinterfaces:

FeatureElement, ItemLike

csj
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
D
SOUTH_AABB
field_26657
SOUTH_SHAPE
f_53419_
private final Map<BlockState, VoxelShape>
E
shapesCache
field_26658
shapesByState
f_53420_
private static final int
F
IGNITE_INSTANT
field_31085
field_31085
f_221143_
private static final int
G
IGNITE_EASY
field_31086
field_31086
f_221144_
private static final int
H
IGNITE_MEDIUM
field_31087
field_31087
f_221145_
private static final int
I
IGNITE_HARD
field_31088
field_31088
f_221146_
private static final int
J
BURN_INSTANT
field_31089
field_31089
f_153260_
private static final int
K
BURN_EASY
field_31090
field_31090
f_153261_
private static final int
L
BURN_MEDIUM
field_31091
field_31091
f_153262_
private static final int
M
BURN_HARD
field_31092
field_31092
f_153263_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
N
igniteOdds
field_11095
burnChances
f_221147_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
O
burnOdds
field_11091
spreadChances
f_53422_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
private static VoxelShape
h(dcb arg0)
calculateShape(BlockState arg0)
method_31016(class_2680 arg0)
getShapeForState(BlockState state)
m_53490_(C_2064_ p_53491_)
public BlockState
a(dcb arg0, ha arg1, dcb arg2, cmn arg3, gu arg4, gu 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(dcb arg0, cls arg1, gu arg2, een 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(cih arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
b(cls arg0, gu 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(dcb arg0, cmp arg1, gu 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(dcb arg0, aif arg1, gu arg2, apf arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_213897_(C_2064_ p_221161_, C_12_ p_221162_, C_4675_ p_221163_, C_212974_ arg3)
protected boolean
a(cmm arg0, gu 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(dcb arg0)
getBurnOdds(BlockState arg0)
method_10190(class_2680 arg0)
getSpreadChance(BlockState state)
m_221164_(C_2064_ arg0)
private int
o(dcb arg0)
getIgniteOdds(BlockState arg0)
method_10191(class_2680 arg0)
getBurnChance(BlockState state)
m_221166_(C_2064_ arg0)
private void
a(cmm arg0, gu arg1, int arg2, apf arg3, int arg4)
checkBurnOut(Level arg0, BlockPos arg1, int arg2, RandomSource arg3, int arg4)
method_10196(class_1937 arg0, class_2338 arg1, int arg2, class_5819 arg3, int arg4)
trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random random, int currentAge)
m_221150_(C_1596_ p_221152_, C_4675_ p_221153_, int p_221154_, C_212974_ p_221155_, int arg4)
private BlockState
a(cmn arg0, gu 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(cls arg0, gu 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(cmp arg0, gu arg1)
getIgniteOdds(LevelReader arg0, BlockPos arg1)
method_10194(class_4538 arg0, class_2338 arg1)
getBurnChance(WorldView world, BlockPos pos)
m_221156_(C_1599_ p_221158_, C_4675_ arg1)
protected boolean
f(dcb arg0)
canBurn(BlockState arg0)
method_10195(class_2680 arg0)
isFlammable(BlockState arg0)
m_7599_(C_2064_ arg0)
public void
b(dcb arg0, cmm arg1, gu arg2, dcb 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(apf arg0)
getFireTickDelay(RandomSource arg0)
method_26155(class_5819 arg0)
getFireTickDelay(Random random)
m_221148_(C_212974_ p_221149_)
protected void
a(dcc$a<cpn, dcb> 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(cpn 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
a()
bootStrap()
method_10199()
registerDefaultFlammables()
m_53484_()