net.minecraft.block

public class IcicleBlock

extends SpeleothemBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Waterloggable, FluidDrainable, FluidFillable, Falling

net.minecraft.world.level.block.IcicleBlock
net.minecraft.class_1_1740
net.minecraft.block.IcicleBlock

Field summary

Modifier and TypeField
private static final int
MAX_GROWING_LENGTH
field_1_11342
MAX_GROWTH_LENGTH
private static final int
BREAKS_IF_ABOVE_LIGHT_LEVEL
field_1_11340
field_1_11340
private static final BooleanProperty
ATTACHED
field_1_11339
ATTACHED
private static final List<Direction>
ONLY_GROW_STALACTITES
field_1_11343
ALLOWED_GROWTH_DIRECTIONS
private static final float
DRIP_PROBABILITY_PER_ANIMATE_TICK
field_1_11341
PARTICLE_TICK_CHANCE

Constructor summary

ModifierConstructor
public (BlockState blockToGrowOn, AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public void
fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance)
method_9554(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1297 arg3, double arg4)
onLandedUpon(World arg0, BlockState arg1, BlockPos arg2, Entity arg3, double arg4)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected int
getStalactiteLandingSound()
method_1_5205()
getWorldEventId()
protected int
getMaxGrowthLength()
method_1_6302()
getMaxGrowthLength()
protected boolean
canGrow(LevelReader level, BlockPos pos)
method_36371(class_4538 arg0, class_2338 arg1)
canGrow(WorldView arg0, BlockPos arg1)
protected boolean
shouldMergeTips()
method_1_11093()
canMergeTips()
protected List<Direction>
getNaturalGrowthDirections()
method_1_11091()
getAllowedGrowthDirections()
public void
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
protected ParticleEffect
getDripParticle(Level level, Fluid fluidAbove, BlockPos posAbove)
method_75744(class_1937 arg0, class_3611 arg1, class_2338 arg2)
getParticleEffect(World arg0, Fluid arg1, BlockPos arg2)
protected void
randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
private boolean
isStartPos(BlockState state, LevelReader level, BlockPos pos)
method_1_11068(class_2680 arg0, class_4538 arg1, class_2338 arg2)
isBase(BlockState state, WorldView world, BlockPos pos)
private boolean
wouldMelt(LevelReader level, BlockPos pos)
method_1_11070(class_4538 arg0, class_2338 arg1)
isSubjectToMelting(WorldView world, BlockPos pos)
private boolean
isAboveMeltingBlock(LevelReader level, BlockPos pos)
method_1_11067(class_4538 arg0, class_2338 arg1)
isAboveMeltingBlock(WorldView world, BlockPos pos)
private boolean
isTooBright(LevelReader level, BlockPos pos)
method_1_11069(class_4538 arg0, class_2338 arg1)
isBrightEnoughToMelt(WorldView world, BlockPos pos)