net.minecraft.world.level.block

public class FireBlock

extends BaseFireBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dmo
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(dwy arg0)
calculateShape(BlockState arg0)
method_31016(class_2680 arg0)
getShapeForState(BlockState state)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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(dwy arg0, dfo arg1, ji arg2, fbg 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(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
b(dfo arg0, ji arg1)
getStateForPlacement(BlockGetter arg0, BlockPos arg1)
method_10198(class_1922 arg0, class_2338 arg1)
getStateForPosition(BlockView world, BlockPos pos)
protected boolean
a(dwy arg0, dgm arg1, ji 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(dwy arg0, ard arg1, ji arg2, azh 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(dgj arg0, ji arg1)
isNearRain(Level arg0, BlockPos arg1)
method_10192(class_1937 arg0, class_2338 arg1)
isRainingAround(World world, BlockPos pos)
private int
q(dwy arg0)
getBurnOdds(BlockState arg0)
method_10190(class_2680 arg0)
getSpreadChance(BlockState state)
private int
r(dwy arg0)
getIgniteOdds(BlockState arg0)
method_10191(class_2680 arg0)
getBurnChance(BlockState state)
private void
a(dgj arg0, ji arg1, int arg2, azh 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(dgm arg0, ji 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(dfo arg0, ji arg1)
isValidFireLocation(BlockGetter arg0, BlockPos arg1)
method_10193(class_1922 arg0, class_2338 arg1)
areBlocksAroundFlammable(BlockView world, BlockPos pos)
private int
a(dgm arg0, ji arg1)
getIgniteOdds(LevelReader arg0, BlockPos arg1)
method_10194(class_4538 arg0, class_2338 arg1)
getBurnChance(WorldView world, BlockPos pos)
protected boolean
g(dwy arg0)
canBurn(BlockState arg0)
method_10195(class_2680 arg0)
isFlammable(BlockState arg0)
protected void
b(dwy arg0, dgj arg1, ji arg2, dwy 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(azh arg0)
getFireTickDelay(RandomSource arg0)
method_26155(class_5819 arg0)
getFireTickDelay(Random random)
protected void
a(dwz$a<djn, dwy> 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(djn 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()