net.minecraft.world.level.block

public class FireBlock

extends BaseFireBlock

All mapped superinterfaces:

FeatureElement, ItemLike

czq
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 com.mojang.serialization.MapCodec<FireBlock>
c
CODEC
field_46352
CODEC
f_303491_
public static final int
d
MAX_AGE
field_31093
field_31093
f_153264_
public static final IntegerProperty
e
AGE
field_11092
AGE
f_53408_
public static final BooleanProperty
f
NORTH
field_11096
NORTH
f_53409_
public static final BooleanProperty
g
EAST
field_11094
EAST
f_53410_
public static final BooleanProperty
h
SOUTH
field_11089
SOUTH
f_53411_
public static final BooleanProperty
i
WEST
field_11088
WEST
f_53412_
public static final BooleanProperty
j
UP
field_11093
UP
f_53413_
private static final Map<Direction, BooleanProperty>
k
PROPERTY_BY_DIRECTION
field_11090
DIRECTION_PROPERTIES
f_53414_
private static final VoxelShape
l
UP_AABB
field_26653
UP_SHAPE
f_53415_
private static final VoxelShape
m
WEST_AABB
field_26654
WEST_SHAPE
f_53416_
private static final VoxelShape
n
EAST_AABB
field_26655
EAST_SHAPE
f_53417_
private static final VoxelShape
o
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
IGNITE_INSTANT
field_31085
field_31085
f_221143_
private static final int
I
IGNITE_EASY
field_31086
field_31086
f_221144_
private static final int
J
IGNITE_MEDIUM
field_31087
field_31087
f_221145_
private static final int
K
IGNITE_HARD
field_31088
field_31088
f_221146_
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
igniteOdds
field_11095
burnChances
f_221147_
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
public com.mojang.serialization.MapCodec<FireBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
private static VoxelShape
h(djh arg0)
calculateShape(BlockState arg0)
method_31016(class_2680 arg0)
getShapeForState(BlockState state)
m_53490_(C_2064_ p_53491_)
public BlockState
a(djh arg0, ic arg1, djh arg2, ctq arg3, hx arg4, hx 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(djh arg0, csv arg1, hx arg2, ely 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(cph arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
b(csv arg0, hx 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(djh arg0, cts arg1, hx 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(djh arg0, and arg1, hx arg2, auv 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(ctp arg0, hx 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(djh arg0)
getBurnOdds(BlockState arg0)
method_10190(class_2680 arg0)
getSpreadChance(BlockState state)
m_221164_(C_2064_ arg0)
private int
o(djh arg0)
getIgniteOdds(BlockState arg0)
method_10191(class_2680 arg0)
getBurnChance(BlockState state)
m_221166_(C_2064_ arg0)
private void
a(ctp arg0, hx arg1, int arg2, auv 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(ctq arg0, hx 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(csv arg0, hx 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(cts arg0, hx 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(djh arg0)
canBurn(BlockState arg0)
method_10195(class_2680 arg0)
isFlammable(BlockState arg0)
m_7599_(C_2064_ arg0)
public void
b(djh arg0, ctp arg1, hx arg2, djh 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(auv arg0)
getFireTickDelay(RandomSource arg0)
method_26155(class_5819 arg0)
getFireTickDelay(Random random)
m_221148_(C_212974_ p_221149_)
protected void
a(dji$a<cwq, djh> 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)
public void
a(cwq 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
b()
bootStrap()
method_10199()
registerDefaultFlammables()
m_53484_()