net.minecraft.world.level.block

public class PointedDripstoneBlock

extends Block implements Fallable, SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, Fallable, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

drq
net.minecraft.world.level.block.PointedDripstoneBlock
net.minecraft.class_5689
net.minecraft.block.PointedDripstoneBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PointedDripstoneBlock>
a
CODEC
field_46413
CODEC
public static final EnumProperty<Direction>
b
TIP_DIRECTION
field_28050
VERTICAL_DIRECTION
public static final EnumProperty<DripstoneThickness>
c
THICKNESS
field_28051
THICKNESS
public static final BooleanProperty
d
WATERLOGGED
field_28052
WATERLOGGED
private static final int
e
MAX_SEARCH_LENGTH_WHEN_CHECKING_DRIP_TYPE
field_31205
field_31205
private static final int
f
DELAY_BEFORE_FALLING
field_31207
field_31207
private static final float
g
DRIP_PROBABILITY_PER_ANIMATE_TICK
field_31208
field_31208
private static final float
h
DRIP_PROBABILITY_PER_ANIMATE_TICK_IF_UNDER_LIQUID_SOURCE
field_31209
field_31209
private static final int
i
MAX_SEARCH_LENGTH_BETWEEN_STALACTITE_TIP_AND_CAULDRON
field_31210
field_31210
private static final float
C
WATER_TRANSFER_PROBABILITY_PER_RANDOM_TICK
field_31211
WATER_DRIP_CHANCE
private static final float
Q
LAVA_TRANSFER_PROBABILITY_PER_RANDOM_TICK
field_31212
LAVA_DRIP_CHANCE
private static final double
R
MIN_TRIDENT_VELOCITY_TO_BREAK_DRIPSTONE
field_31213
field_31213
private static final float
S
STALACTITE_DAMAGE_PER_FALL_DISTANCE_AND_SIZE
field_31214
field_31214
private static final int
T
STALACTITE_MAX_DAMAGE
field_31215
field_31215
private static final int
U
MAX_STALACTITE_HEIGHT_FOR_DAMAGE_CALCULATION
field_31200
field_31200
private static final float
V
STALAGMITE_FALL_DISTANCE_OFFSET
field_31201
field_31201
private static final int
W
STALAGMITE_FALL_DAMAGE_MODIFIER
field_31202
field_31202
private static final float
X
AVERAGE_DAYS_PER_GROWTH
field_33566
field_33566
private static final float
Y
GROWTH_PROBABILITY_PER_RANDOM_TICK
field_33567
field_33567
private static final int
Z
MAX_GROWTH_LENGTH
field_33568
MAX_STALACTITE_GROWTH
private static final int
aa
MAX_STALAGMITE_SEARCH_RANGE_WHEN_GROWING
field_33569
STALACTITE_FLOOR_SEARCH_RANGE
private static final VoxelShape
ab
SHAPE_TIP_MERGE
field_28053
TIP_MERGE_SHAPE
private static final VoxelShape
ac
SHAPE_TIP_UP
field_28054
UP_TIP_SHAPE
private static final VoxelShape
ad
SHAPE_TIP_DOWN
field_28055
DOWN_TIP_SHAPE
private static final VoxelShape
ae
SHAPE_FRUSTUM
field_28058
BASE_SHAPE
private static final VoxelShape
af
SHAPE_MIDDLE
field_28056
FRUSTUM_SHAPE
private static final VoxelShape
ag
SHAPE_BASE
field_28057
MIDDLE_SHAPE
private static final double
ah
STALACTITE_DRIP_START_PIXEL
field_31203
DOWN_TIP_Y
private static final float
ai
MAX_HORIZONTAL_OFFSET
field_31204
MAX_HORIZONTAL_MODEL_OFFSET
private static final VoxelShape
aj
REQUIRED_SPACE_TO_DRIP_THROUGH_NON_SOLID_BLOCK
field_36340
DRIP_COLLISION_SHAPE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<PointedDripstoneBlock>
a()
codec()
method_53969()
getCodec()
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)
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 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 void
a(dip arg0, dzo arg1, fds arg2, crm arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
public void
a(dip arg0, dzo arg1, iu arg2, bwa arg3, double arg4)
fallOn(Level arg0, BlockState arg1, BlockPos arg2, Entity arg3, double arg4)
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)
public void
a(dzo arg0, dip arg1, iu arg2, azt arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
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 void
b(dzo arg0, aro arg1, iu arg2, azt arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public static void
a(dzo arg0, aro arg1, iu arg2, float arg3)
maybeTransferFluid(BlockState arg0, ServerLevel arg1, BlockPos arg2, float arg3)
method_32772(class_2680 arg0, class_3218 arg1, class_2338 arg2, float arg3)
dripTick(BlockState state, ServerWorld world, BlockPos pos, float dripChance)
public BlockState
a(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected FluidState
b_(dzo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected VoxelShape
d_(dzo arg0)
getOcclusionShape(BlockState arg0)
method_9571(class_2680 arg0)
getCullingShape(BlockState arg0)
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)
protected boolean
a_(dzo arg0, dhv arg1, iu arg2)
isCollisionShapeFullBlock(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_37403(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isShapeFullCube(BlockState arg0, BlockView arg1, BlockPos arg2)
protected float
an_()
getMaxHorizontalOffset()
method_32913()
getMaxHorizontalModelOffset()
public void
a(dip arg0, iu arg1, cmw arg2)
onBrokenAfterFall(Level arg0, BlockPos arg1, FallingBlockEntity arg2)
method_10129(class_1937 arg0, class_2338 arg1, class_1540 arg2)
onDestroyedOnLanding(World arg0, BlockPos arg1, FallingBlockEntity arg2)
public DamageSource
a(bwa arg0)
getFallDamageSource(Entity arg0)
method_32898(class_1297 arg0)
getDamageSource(Entity arg0)
private static void
a(dzo arg0, aro arg1, iu arg2)
spawnFallingStalactite(BlockState arg0, ServerLevel arg1, BlockPos arg2)
method_32771(class_2680 arg0, class_3218 arg1, class_2338 arg2)
spawnFallingBlock(BlockState state, ServerWorld world, BlockPos pos)
public static void
c(dzo arg0, aro arg1, iu arg2, azt arg3)
growStalactiteOrStalagmiteIfPossible(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_36375(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
tryGrow(BlockState state, ServerWorld world, BlockPos pos, Random random)
private static void
b(aro arg0, iu arg1)
growStalagmiteBelow(ServerLevel arg0, BlockPos arg1)
method_36368(class_3218 arg0, class_2338 arg1)
tryGrowStalagmite(ServerWorld world, BlockPos pos)
private static void
a(aro arg0, iu arg1, ja arg2)
grow(ServerLevel arg0, BlockPos arg1, Direction arg2)
method_36369(class_3218 arg0, class_2338 arg1, class_2350 arg2)
tryGrow(ServerWorld world, BlockPos pos, Direction direction)
private static void
a(diq arg0, iu arg1, ja arg2, eal arg3)
createDripstone(LevelAccessor arg0, BlockPos arg1, Direction arg2, DripstoneThickness arg3)
method_36370(class_1936 arg0, class_2338 arg1, class_2350 arg2, class_5691 arg3)
place(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness)
private static void
a(dzo arg0, diq arg1, iu arg2)
createMergedTips(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_36376(class_2680 arg0, class_1936 arg1, class_2338 arg2)
growMerged(BlockState state, WorldAccess world, BlockPos pos)
public static void
a(dip arg0, iu arg1, dzo arg2)
spawnDripParticle(Level arg0, BlockPos arg1, BlockState arg2)
method_32899(class_1937 arg0, class_2338 arg1, class_2680 arg2)
createParticle(World world, BlockPos pos, BlockState state)
private static void
a(dip arg0, iu arg1, dzo arg2, evu arg3)
spawnDripParticle(Level arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
method_32768(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3611 arg3)
createParticle(World world, BlockPos pos, BlockState state, Fluid fluid)
private static BlockPos
a(dzo arg0, diq arg1, iu arg2, int arg3, boolean arg4)
findTip(BlockState arg0, LevelAccessor arg1, BlockPos arg2, int arg3, boolean arg4)
method_32782(class_2680 arg0, class_1936 arg1, class_2338 arg2, int arg3, boolean arg4)
getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged)
private static Direction
b(dis arg0, iu arg1, ja arg2)
calculateTipDirection(LevelReader arg0, BlockPos arg1, Direction arg2)
method_32777(class_4538 arg0, class_2338 arg1, class_2350 arg2)
getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction)
private static DripstoneThickness
a(dis arg0, iu arg1, ja arg2, boolean arg3)
calculateDripstoneThickness(LevelReader arg0, BlockPos arg1, Direction arg2, boolean arg3)
method_32770(class_4538 arg0, class_2338 arg1, class_2350 arg2, boolean arg3)
getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge)
public static boolean
o(dzo arg0)
canDrip(BlockState arg0)
method_32783(class_2680 arg0)
canDrip(BlockState state)
private static boolean
b(dzo arg0, aro arg1, iu arg2)
canTipGrow(BlockState arg0, ServerLevel arg1, BlockPos arg2)
method_36374(class_2680 arg0, class_3218 arg1, class_2338 arg2)
canGrow(BlockState state, ServerWorld world, BlockPos pos)
private static Optional<BlockPos>
a(dip arg0, iu arg1, dzo arg2, int arg3)
findRootBlock(Level arg0, BlockPos arg1, BlockState arg2, int arg3)
method_32776(class_1937 arg0, class_2338 arg1, class_2680 arg2, int arg3)
getSupportingPos(World world, BlockPos pos, BlockState state, int range)
private static boolean
c(dis arg0, iu arg1, ja arg2)
isValidPointedDripstonePlacement(LevelReader arg0, BlockPos arg1, Direction arg2)
method_32781(class_4538 arg0, class_2338 arg1, class_2350 arg2)
canPlaceAtWithDirection(WorldView world, BlockPos pos, Direction direction)
private static boolean
a(dzo arg0, boolean arg1)
isTip(BlockState arg0, boolean arg1)
method_32784(class_2680 arg0, boolean arg1)
isTip(BlockState state, boolean allowMerged)
private static boolean
a(dzo arg0, ja arg1)
isUnmergedTipWithDirection(BlockState arg0, Direction arg1)
method_36372(class_2680 arg0, class_2350 arg1)
isTip(BlockState state, Direction direction)
private static boolean
q(dzo arg0)
isStalactite(BlockState arg0)
method_32785(class_2680 arg0)
isPointingDown(BlockState state)
private static boolean
r(dzo arg0)
isStalagmite(BlockState arg0)
method_35283(class_2680 arg0)
isPointingUp(BlockState state)
private static boolean
b(dzo arg0, dis arg1, iu arg2)
isStalactiteStartPos(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_32778(class_2680 arg0, class_4538 arg1, class_2338 arg2)
isHeldByPointedDripstone(BlockState state, WorldView world, BlockPos pos)
protected boolean
a(dzo arg0, ewk arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
private static boolean
b(dzo arg0, ja arg1)
isPointedDripstoneWithDirection(BlockState arg0, Direction arg1)
method_32774(class_2680 arg0, class_2350 arg1)
isPointedDripstoneFacingDirection(BlockState state, Direction direction)
private static BlockPos
a(dip arg0, iu arg1, evu arg2)
findFillableCauldronBelowStalactiteTip(Level arg0, BlockPos arg1, Fluid arg2)
method_32769(class_1937 arg0, class_2338 arg1, class_3611 arg2)
getCauldronPos(World world, BlockPos pos, Fluid fluid)
public static BlockPos
a(dip arg0, iu arg1)
findStalactiteTipAboveCauldron(Level arg0, BlockPos arg1)
method_32767(class_1937 arg0, class_2338 arg1)
getDripPos(World world, BlockPos pos)
public static Fluid
a(aro arg0, iu arg1)
getCauldronFillFluidType(ServerLevel arg0, BlockPos arg1)
method_32775(class_3218 arg0, class_2338 arg1)
getDripFluid(ServerWorld world, BlockPos pos)
private static Optional<PointedDripstoneBlock$FluidInfo>
b(dip arg0, iu arg1, dzo arg2)
getFluidAboveStalactite(Level arg0, BlockPos arg1, BlockState arg2)
method_33276(class_1937 arg0, class_2338 arg1, class_2680 arg2)
getFluid(World world, BlockPos pos, BlockState state)
private static boolean
a(evu arg0)
canFillCauldron(Fluid arg0)
method_33273(class_3611 arg0)
isFluidLiquid(Fluid fluid)
private static boolean
a(dzo arg0, dzo arg1)
canGrow(BlockState arg0, BlockState arg1)
method_36371(class_2680 arg0, class_2680 arg1)
canGrow(BlockState dripstoneBlockState, BlockState waterState)
private static Fluid
a(dip arg0, evu arg1)
getDripFluid(Level arg0, Fluid arg1)
method_33271(class_1937 arg0, class_3611 arg1)
getDripFluid(World world, Fluid fluid)
private static Optional<BlockPos>
a(diq arg0, iu arg1, ja$b arg2, BiPredicate<iu, dzo> arg3, Predicate<dzo> arg4, int arg5)
findBlockVertical(LevelAccessor arg0, BlockPos arg1, Direction$AxisDirection arg2, BiPredicate<BlockPos, BlockState> arg3, Predicate<BlockState> arg4, int arg5)
method_33272(class_1936 arg0, class_2338 arg1, class_2350$class_2352 arg2, BiPredicate<class_2338, class_2680> arg3, Predicate<class_2680> arg4, int arg5)
searchInDirection(WorldAccess world, BlockPos pos, Direction$AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range)
private static boolean
a(dhv arg0, iu arg1, dzo arg2)
canDripThrough(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_40016(class_1922 arg0, class_2338 arg1, class_2680 arg2)
canDripThrough(BlockView world, BlockPos pos, BlockState state)