net.minecraft.world.level.block

public class FireBlock

extends BaseFireBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dov
net.minecraft.world.level.block.FireBlock
net.minecraft.class_2358
net.minecraft.block.FireBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FireBlock>
b
CODEC
field_46352
CODEC
public static final int
c
MAX_AGE
field_31093
field_31093
public static final IntegerProperty
d
AGE
field_11092
AGE
public static final BooleanProperty
e
NORTH
field_11096
NORTH
public static final BooleanProperty
f
EAST
field_11094
EAST
public static final BooleanProperty
g
SOUTH
field_11089
SOUTH
public static final BooleanProperty
h
WEST
field_11088
WEST
public static final BooleanProperty
i
UP
field_11093
UP
public static final Map<Direction, BooleanProperty>
C
PROPERTY_BY_DIRECTION
field_11090
DIRECTION_PROPERTIES
private final Function<BlockState, VoxelShape>
Q
shapes
field_55760
shapeFunction
private static final int
R
IGNITE_INSTANT
field_31085
field_31085
private static final int
S
IGNITE_EASY
field_31086
field_31086
private static final int
T
IGNITE_MEDIUM
field_31087
field_31087
private static final int
U
IGNITE_HARD
field_31088
field_31088
private static final int
V
BURN_INSTANT
field_31089
field_31089
private static final int
W
BURN_EASY
field_31090
field_31090
private static final int
X
BURN_MEDIUM
field_31091
field_31091
private static final int
Y
BURN_HARD
field_31092
field_31092
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
Z
igniteOdds
field_11095
burnChances
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Block>
aa
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 Function<BlockState, VoxelShape>
q()
makeShapes()
method_66432()
createShapeFunction()
protected BlockState
a(dzo arg0, dis arg1, dje arg2, iu arg3, ja arg4, iu arg5, dzo arg6, azt 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(dzo arg0, dhv arg1, iu arg2, feb 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(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
b(dhv arg0, iu arg1)
getStateForPlacement(BlockGetter arg0, BlockPos arg1)
method_10198(class_1922 arg0, class_2338 arg1)
getStateForPosition(BlockView world, BlockPos pos)
protected boolean
a(dzo arg0, dis arg1, iu 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(dzo arg0, aro arg1, iu arg2, azt 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(dip arg0, iu arg1)
isNearRain(Level arg0, BlockPos arg1)
method_10192(class_1937 arg0, class_2338 arg1)
isRainingAround(World world, BlockPos pos)
private int
o(dzo arg0)
getBurnOdds(BlockState arg0)
method_10190(class_2680 arg0)
getSpreadChance(BlockState state)
private int
q(dzo arg0)
getIgniteOdds(BlockState arg0)
method_10191(class_2680 arg0)
getBurnChance(BlockState state)
private void
a(dip arg0, iu arg1, int arg2, azt 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(dis arg0, iu 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(dhv arg0, iu arg1)
isValidFireLocation(BlockGetter arg0, BlockPos arg1)
method_10193(class_1922 arg0, class_2338 arg1)
areBlocksAroundFlammable(BlockView world, BlockPos pos)
private int
a(dis arg0, iu arg1)
getIgniteOdds(LevelReader arg0, BlockPos arg1)
method_10194(class_4538 arg0, class_2338 arg1)
getBurnChance(WorldView world, BlockPos pos)
protected boolean
g(dzo arg0)
canBurn(BlockState arg0)
method_10195(class_2680 arg0)
isFlammable(BlockState arg0)
protected void
a(dzo arg0, dip arg1, iu arg2, dzo 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(azt arg0)
getFireTickDelay(RandomSource arg0)
method_26155(class_5819 arg0)
getFireTickDelay(Random random)
protected void
a(dzp$a<dlu, dzo> 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(dlu 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()