net.minecraft.block

public class FrostedIceBlock

extends CrumblingIceBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.FrostedIceBlock
net.minecraft.class_2360
net.minecraft.block.FrostedIceBlock

Field summary

Modifier and TypeField
private static final int
NEIGHBORS_TO_AGE
field_31097
NEIGHBORS_CHECKED_ON_SCHEDULED_TICK
private static final int
NEIGHBORS_TO_MELT
field_31098
NEIGHBORS_CHECKED_ON_NEIGHBOR_UPDATE
private static final int
MIN_TICK_DELAY
field_1_11904
CRUMBLE_MIN_DELAY
private static final int
MAX_TICK_DELAY
field_1_11903
CRUMBLE_MAX_DELAY

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public void
onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
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)
protected void
tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected void
neighborChanged(BlockState state, Level level, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
private boolean
fewerNeigboursThan(BlockGetter level, BlockPos pos, int limit)
method_10202(class_1922 arg0, class_2338 arg1, int arg2)
canMelt(BlockView world, BlockPos pos, int maxNeighbors)
protected boolean
shouldEnvironmentIncreaseCracking(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_1_11540(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
shouldStartCrumbling(BlockState state, ServerWorld world, BlockPos pos, Random random)
protected int
getTickDelay(RandomSource random)
method_1_11543(class_5819 arg0)
getCrumbleDelay(Random arg0)
protected ItemStack
getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)