net.minecraft.world.level.block

public class PointedDripstoneBlock

extends Block implements Fallable, SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, Fallable, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dqg
net.minecraft.world.level.block.PointedDripstoneBlock
net.minecraft.class_5689
net.minecraft.block.PointedDripstoneBlock
net.minecraft.world.level.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
j
WATER_TRANSFER_PROBABILITY_PER_RANDOM_TICK
field_31211
WATER_DRIP_CHANCE
private static final float
k
LAVA_TRANSFER_PROBABILITY_PER_RANDOM_TICK
field_31212
LAVA_DRIP_CHANCE
private static final double
l
MIN_TRIDENT_VELOCITY_TO_BREAK_DRIPSTONE
field_31213
field_31213
private static final float
m
STALACTITE_DAMAGE_PER_FALL_DISTANCE_AND_SIZE
field_31214
field_31214
private static final int
n
STALACTITE_MAX_DAMAGE
field_31215
field_31215
private static final int
o
MAX_STALACTITE_HEIGHT_FOR_DAMAGE_CALCULATION
field_31200
field_31200
private static final float
G
STALAGMITE_FALL_DISTANCE_OFFSET
field_31201
field_31201
private static final int
H
STALAGMITE_FALL_DAMAGE_MODIFIER
field_31202
field_31202
private static final float
I
AVERAGE_DAYS_PER_GROWTH
field_33566
field_33566
private static final float
J
GROWTH_PROBABILITY_PER_RANDOM_TICK
field_33567
field_33567
private static final int
K
MAX_GROWTH_LENGTH
field_33568
MAX_STALACTITE_GROWTH
private static final int
L
MAX_STALAGMITE_SEARCH_RANGE_WHEN_GROWING
field_33569
STALACTITE_FLOOR_SEARCH_RANGE
private static final float
M
STALACTITE_DRIP_START_PIXEL
field_31203
field_31203
private static final VoxelShape
N
TIP_MERGE_SHAPE
field_28053
TIP_MERGE_SHAPE
private static final VoxelShape
O
TIP_SHAPE_UP
field_28054
UP_TIP_SHAPE
private static final VoxelShape
P
TIP_SHAPE_DOWN
field_28055
DOWN_TIP_SHAPE
private static final VoxelShape
Q
FRUSTUM_SHAPE
field_28058
BASE_SHAPE
private static final VoxelShape
R
MIDDLE_SHAPE
field_28056
FRUSTUM_SHAPE
private static final VoxelShape
S
BASE_SHAPE
field_28057
MIDDLE_SHAPE
private static final float
T
MAX_HORIZONTAL_OFFSET
field_31204
field_31204
private static final VoxelShape
U
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(dxw$a<dkm, dxv> 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(dxv arg0, dhl arg1, jh 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(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam 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(dhi arg0, dxv arg1, fbu arg2, cqq 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(dhi arg0, dxv arg1, jh arg2, bvk arg3, float arg4)
fallOn(Level arg0, BlockState arg1, BlockPos arg2, Entity arg3, float arg4)
method_9554(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1297 arg3, float arg4)
onLandedUpon(World arg0, BlockState arg1, BlockPos arg2, Entity arg3, float arg4)
public void
a(dxv arg0, dhi arg1, jh arg2, bam 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(dxv arg0, ash arg1, jh arg2, bam 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(dxv arg0, ash arg1, jh arg2, bam 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(dxv arg0, ash arg1, jh 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(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected FluidState
b_(dxv arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected VoxelShape
d_(dxv arg0)
getOcclusionShape(BlockState arg0)
method_9571(class_2680 arg0)
getCullingShape(BlockState arg0)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd 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_(dxv arg0, dgn arg1, jh 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
as_()
getMaxHorizontalOffset()
method_32913()
getMaxHorizontalModelOffset()
public void
a(dhi arg0, jh arg1, cma 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(bvk arg0)
getFallDamageSource(Entity arg0)
method_32898(class_1297 arg0)
getDamageSource(Entity arg0)
private static void
a(dxv arg0, ash arg1, jh 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(dxv arg0, ash arg1, jh arg2, bam 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(ash arg0, jh arg1)
growStalagmiteBelow(ServerLevel arg0, BlockPos arg1)
method_36368(class_3218 arg0, class_2338 arg1)
tryGrowStalagmite(ServerWorld world, BlockPos pos)
private static void
a(ash arg0, jh arg1, jm 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(dhj arg0, jh arg1, jm arg2, dyr 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(dxv arg0, dhj arg1, jh 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(dhi arg0, jh arg1, dxv 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(dhi arg0, jh arg1, dxv arg2, etw 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(dxv arg0, dhj arg1, jh 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(dhl arg0, jh arg1, jm 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(dhl arg0, jh arg1, jm 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(dxv arg0)
canDrip(BlockState arg0)
method_32783(class_2680 arg0)
canDrip(BlockState state)
private static boolean
b(dxv arg0, ash arg1, jh 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(dhi arg0, jh arg1, dxv 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(dhl arg0, jh arg1, jm 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(dxv arg0, boolean arg1)
isTip(BlockState arg0, boolean arg1)
method_32784(class_2680 arg0, boolean arg1)
isTip(BlockState state, boolean allowMerged)
private static boolean
a(dxv arg0, jm arg1)
isUnmergedTipWithDirection(BlockState arg0, Direction arg1)
method_36372(class_2680 arg0, class_2350 arg1)
isTip(BlockState state, Direction direction)
private static boolean
q(dxv arg0)
isStalactite(BlockState arg0)
method_32785(class_2680 arg0)
isPointingDown(BlockState state)
private static boolean
r(dxv arg0)
isStalagmite(BlockState arg0)
method_35283(class_2680 arg0)
isPointingUp(BlockState state)
private static boolean
b(dxv arg0, dhl arg1, jh 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(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
private static boolean
b(dxv arg0, jm arg1)
isPointedDripstoneWithDirection(BlockState arg0, Direction arg1)
method_32774(class_2680 arg0, class_2350 arg1)
isPointedDripstoneFacingDirection(BlockState state, Direction direction)
private static BlockPos
a(dhi arg0, jh arg1, etw 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(dhi arg0, jh arg1)
findStalactiteTipAboveCauldron(Level arg0, BlockPos arg1)
method_32767(class_1937 arg0, class_2338 arg1)
getDripPos(World world, BlockPos pos)
public static Fluid
a(ash arg0, jh 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(dhi arg0, jh arg1, dxv 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(etw arg0)
canFillCauldron(Fluid arg0)
method_33273(class_3611 arg0)
isFluidLiquid(Fluid fluid)
private static boolean
a(dxv arg0, dxv arg1)
canGrow(BlockState arg0, BlockState arg1)
method_36371(class_2680 arg0, class_2680 arg1)
canGrow(BlockState dripstoneBlockState, BlockState waterState)
private static Fluid
a(dhi arg0, etw arg1)
getDripFluid(Level arg0, Fluid arg1)
method_33271(class_1937 arg0, class_3611 arg1)
getDripFluid(World world, Fluid fluid)
private static Optional<BlockPos>
a(dhj arg0, jh arg1, jm$b arg2, BiPredicate<jh, dxv> arg3, Predicate<dxv> 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(dgn arg0, jh arg1, dxv 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)