net.minecraft.block

public class FrostedIceBlock

extends IceBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FrostedIceBlock>
CODEC
CODEC
field_46358
CODEC
public static final int
MAX_AGE
MAX_AGE
field_31096
MAX_AGE
public static final IntProperty
AGE
AGE
field_11097
AGE
private static final int
NEIGHBORS_TO_AGE
NEIGHBORS_TO_AGE
field_31097
NEIGHBORS_CHECKED_ON_SCHEDULED_TICK
private static final int
NEIGHBORS_TO_MELT
NEIGHBORS_TO_MELT
field_31098
NEIGHBORS_CHECKED_ON_NEIGHBOR_UPDATE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<FrostedIceBlock>
codec()
codec()
method_53969()
getCodec()
public void
onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
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)
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)
private boolean
slightlyMelt(BlockState state, Level level, BlockPos pos)
slightlyMelt(BlockState state, Level level, BlockPos pos)
method_10201(class_2680 arg0, class_1937 arg1, class_2338 arg2)
increaseAge(BlockState state, World world, BlockPos pos)
protected void
neighborChanged(BlockState state, Level level, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston)
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)
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 void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected ItemStack
getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData)
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)