net.minecraft.world.level.block

public class FireBlock

extends BaseFireBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dnn
net.minecraft.world.level.block.FireBlock
net.minecraft.class_2358
net.minecraft.block.FireBlock
net.minecraft.world.level.block.BlockFire

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FireBlock>
c
CODEC
field_46352
CODEC
public static final int
d
MAX_AGE
field_31093
field_31093
public static final IntegerProperty
e
AGE
field_11092
AGE
public static final BooleanProperty
f
NORTH
field_11096
NORTH
public static final BooleanProperty
g
EAST
field_11094
EAST
public static final BooleanProperty
h
SOUTH
field_11089
SOUTH
public static final BooleanProperty
i
WEST
field_11088
WEST
public static final BooleanProperty
j
UP
field_11093
UP
private static final Map<Direction, BooleanProperty>
k
PROPERTY_BY_DIRECTION
field_11090
DIRECTION_PROPERTIES
private static final VoxelShape
l
UP_AABB
field_26653
UP_SHAPE
private static final VoxelShape
m
WEST_AABB
field_26654
WEST_SHAPE
private static final VoxelShape
n
EAST_AABB
field_26655
EAST_SHAPE
private static final VoxelShape
o
NORTH_AABB
field_26656
NORTH_SHAPE
private static final VoxelShape
G
SOUTH_AABB
field_26657
SOUTH_SHAPE
private final Map<BlockState, VoxelShape>
H
shapesCache
field_26658
shapesByState
private static final int
I
IGNITE_INSTANT
field_31085
field_31085
private static final int
J
IGNITE_EASY
field_31086
field_31086
private static final int
K
IGNITE_MEDIUM
field_31087
field_31087
private static final int
L
IGNITE_HARD
field_31088
field_31088
private static final int
M
BURN_INSTANT
field_31089
field_31089
private static final int
N
BURN_EASY
field_31090
field_31090
private static final int
O
BURN_MEDIUM
field_31091
field_31091
private static final int
P
BURN_HARD
field_31092
field_31092
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
Q
igniteOdds
field_11095
burnChances
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
R
burnOdds
field_11091
spreadChances

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<FireBlock>
a()
codec()
method_53969()
getCodec()
private static VoxelShape
o(dxv arg0)
calculateShape(BlockState arg0)
method_31016(class_2680 arg0)
getShapeForState(BlockState state)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd 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)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
b(dgn arg0, jh arg1)
getStateForPlacement(BlockGetter arg0, BlockPos arg1)
method_10198(class_1922 arg0, class_2338 arg1)
getStateForPosition(BlockView world, BlockPos pos)
protected boolean
a(dxv arg0, dhl arg1, jh 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)
protected void
a(dxv arg0, ash arg1, jh arg2, bam 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)
protected boolean
a(dhi arg0, jh arg1)
isNearRain(Level arg0, BlockPos arg1)
method_10192(class_1937 arg0, class_2338 arg1)
isRainingAround(World world, BlockPos pos)
private int
q(dxv arg0)
getBurnOdds(BlockState arg0)
method_10190(class_2680 arg0)
getSpreadChance(BlockState state)
private int
r(dxv arg0)
getIgniteOdds(BlockState arg0)
method_10191(class_2680 arg0)
getBurnChance(BlockState state)
private void
a(dhi arg0, jh arg1, int arg2, bam 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)
private BlockState
a(dhl arg0, jh arg1, int arg2)
getStateWithAge(LevelReader arg0, BlockPos arg1, int arg2)
method_24855(class_4538 arg0, class_2338 arg1, int arg2)
getStateWithAge(WorldView world, BlockPos pos, int age)
private boolean
d(dgn arg0, jh arg1)
isValidFireLocation(BlockGetter arg0, BlockPos arg1)
method_10193(class_1922 arg0, class_2338 arg1)
areBlocksAroundFlammable(BlockView world, BlockPos pos)
private int
a(dhl arg0, jh arg1)
getIgniteOdds(LevelReader arg0, BlockPos arg1)
method_10194(class_4538 arg0, class_2338 arg1)
getBurnChance(WorldView world, BlockPos pos)
protected boolean
g(dxv arg0)
canBurn(BlockState arg0)
method_10195(class_2680 arg0)
isFlammable(BlockState arg0)
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv 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)
private static int
a(bam arg0)
getFireTickDelay(RandomSource arg0)
method_26155(class_5819 arg0)
getFireTickDelay(Random random)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public void
a(dkm 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)
public static void
b()
bootStrap()
method_10199()
registerDefaultFlammables()