net.minecraft.world.level.block

public class PointedDripstoneBlock

extends Block implements Fallable, SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, Fallable, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dkt
net.minecraft.world.level.block.PointedDripstoneBlock
net.minecraft.class_5689
net.minecraft.block.PointedDripstoneBlock
net.minecraft.src.C_141220_
net.minecraft.world.level.block.PointedDripstoneBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PointedDripstoneBlock>
a
CODEC
field_46413
CODEC
f_303594_
public static final DirectionProperty
b
TIP_DIRECTION
field_28050
VERTICAL_DIRECTION
f_154009_
public static final EnumProperty<DripstoneThickness>
c
THICKNESS
field_28051
THICKNESS
f_154010_
public static final BooleanProperty
d
WATERLOGGED
field_28052
WATERLOGGED
f_154011_
private static final int
e
MAX_SEARCH_LENGTH_WHEN_CHECKING_DRIP_TYPE
field_31205
field_31205
f_154012_
private static final int
f
DELAY_BEFORE_FALLING
field_31207
field_31207
f_154014_
private static final float
g
DRIP_PROBABILITY_PER_ANIMATE_TICK
field_31208
field_31208
f_154015_
private static final float
h
DRIP_PROBABILITY_PER_ANIMATE_TICK_IF_UNDER_LIQUID_SOURCE
field_31209
field_31209
f_154016_
private static final int
i
MAX_SEARCH_LENGTH_BETWEEN_STALACTITE_TIP_AND_CAULDRON
field_31210
field_31210
f_154017_
private static final float
j
WATER_TRANSFER_PROBABILITY_PER_RANDOM_TICK
field_31211
WATER_DRIP_CHANCE
f_221844_
private static final float
k
LAVA_TRANSFER_PROBABILITY_PER_RANDOM_TICK
field_31212
LAVA_DRIP_CHANCE
f_221845_
private static final double
l
MIN_TRIDENT_VELOCITY_TO_BREAK_DRIPSTONE
field_31213
field_31213
f_154020_
private static final float
m
STALACTITE_DAMAGE_PER_FALL_DISTANCE_AND_SIZE
field_31214
field_31214
f_154021_
private static final int
n
STALACTITE_MAX_DAMAGE
field_31215
field_31215
f_154022_
private static final int
o
MAX_STALACTITE_HEIGHT_FOR_DAMAGE_CALCULATION
field_31200
field_31200
f_153994_
private static final float
F
STALAGMITE_FALL_DISTANCE_OFFSET
field_31201
field_31201
f_153995_
private static final int
G
STALAGMITE_FALL_DAMAGE_MODIFIER
field_31202
field_31202
f_153996_
private static final float
H
AVERAGE_DAYS_PER_GROWTH
field_33566
field_33566
f_153997_
private static final float
I
GROWTH_PROBABILITY_PER_RANDOM_TICK
field_33567
field_33567
f_153998_
private static final int
J
MAX_GROWTH_LENGTH
field_33568
MAX_STALACTITE_GROWTH
f_153999_
private static final int
K
MAX_STALAGMITE_SEARCH_RANGE_WHEN_GROWING
field_33569
STALACTITE_FLOOR_SEARCH_RANGE
f_154000_
private static final float
L
STALACTITE_DRIP_START_PIXEL
field_31203
field_31203
f_154001_
private static final VoxelShape
M
TIP_MERGE_SHAPE
field_28053
TIP_MERGE_SHAPE
f_154002_
private static final VoxelShape
N
TIP_SHAPE_UP
field_28054
UP_TIP_SHAPE
f_154003_
private static final VoxelShape
O
TIP_SHAPE_DOWN
field_28055
DOWN_TIP_SHAPE
f_154004_
private static final VoxelShape
P
FRUSTUM_SHAPE
field_28058
BASE_SHAPE
f_154005_
private static final VoxelShape
Q
MIDDLE_SHAPE
field_28056
FRUSTUM_SHAPE
f_154006_
private static final VoxelShape
R
BASE_SHAPE
field_28057
MIDDLE_SHAPE
f_154007_
private static final float
S
MAX_HORIZONTAL_OFFSET
field_31204
field_31204
f_154008_
private static final VoxelShape
T
REQUIRED_SPACE_TO_DRIP_THROUGH_NON_SOLID_BLOCK
field_36340
DRIP_COLLISION_SHAPE
f_202005_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<PointedDripstoneBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected void
a(dsf$a<dfb, dse> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected boolean
a(dse arg0, dcd arg1, iz 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)
m_7898_(C_2064_ p_154138_, C_1599_ p_154139_, C_4675_ arg2)
protected BlockState
a(dse arg0, je arg1, dse arg2, dcb arg3, iz arg4, iz arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_154148_, C_4687_ p_154149_, C_2064_ p_154150_, C_1598_ p_154151_, C_4675_ p_154152_, C_4675_ arg5)
protected void
a(dca arg0, dse arg1, evp arg2, cnr 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)
m_5581_(C_1596_ p_154043_, C_2064_ p_154044_, C_3041_ p_154045_, C_1167_ arg3)
public void
a(dca arg0, dse arg1, iz arg2, bsw 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)
m_142072_(C_1596_ p_154048_, C_2064_ p_154049_, C_4675_ p_154050_, C_507_ p_154051_, float arg4)
public void
a(dse arg0, dca arg1, iz arg2, azh 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)
m_214162_(C_2064_ p_221871_, C_1596_ p_221872_, C_4675_ p_221873_, C_212974_ arg3)
protected void
a(dse arg0, arf arg1, iz arg2, azh 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)
m_213897_(C_2064_ p_221866_, C_12_ p_221867_, C_4675_ p_221868_, C_212974_ arg3)
protected void
b(dse arg0, arf arg1, iz arg2, azh 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)
m_213898_(C_2064_ p_221884_, C_12_ p_221885_, C_4675_ p_221886_, C_212974_ arg3)
public static void
a(dse arg0, arf arg1, iz 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)
m_221859_(C_2064_ p_221860_, C_12_ p_221861_, C_4675_ p_221862_, float p_221863_)
public BlockState
a(cyc arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected FluidState
b_(dse arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected VoxelShape
f(dse arg0, dbg arg1, iz arg2)
getOcclusionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9571(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getCullingShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7952_(C_2064_ p_154171_, C_1559_ p_154172_, C_4675_ arg2)
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy 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)
m_5940_(C_2064_ p_154118_, C_1559_ p_154119_, C_4675_ p_154120_, C_3051_ arg3)
protected boolean
c(dse arg0, dbg arg1, iz 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)
m_180643_(C_2064_ p_181236_, C_1559_ p_181237_, C_4675_ arg2)
protected float
aq_()
getMaxHorizontalOffset()
method_32913()
getMaxHorizontalModelOffset()
m_142740_()
public void
a(dca arg0, iz arg1, cji 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)
m_142525_(C_1596_ p_154060_, C_4675_ p_154061_, C_975_ arg2)
public DamageSource
a(bsw arg0)
getFallDamageSource(Entity arg0)
method_32898(class_1297 arg0)
getDamageSource(Entity arg0)
m_252932_(C_507_ arg0)
private static void
a(dse arg0, arf arg1, iz 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)
m_154097_(C_2064_ p_154098_, C_12_ p_154099_, C_4675_ p_154100_)
public static void
c(dse arg0, arf arg1, iz arg2, azh 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)
m_221887_(C_2064_ p_221888_, C_12_ p_221889_, C_4675_ p_221890_, C_212974_ p_221891_)
private static void
b(arf arg0, iz arg1)
growStalagmiteBelow(ServerLevel arg0, BlockPos arg1)
method_36368(class_3218 arg0, class_2338 arg1)
tryGrowStalagmite(ServerWorld world, BlockPos pos)
m_154032_(C_12_ p_154033_, C_4675_ p_154034_)
private static void
a(arf arg0, iz arg1, je 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)
m_154035_(C_12_ p_154036_, C_4675_ p_154037_, C_4687_ p_154038_)
private static void
a(dcb arg0, iz arg1, je arg2, dtb 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)
m_154087_(C_1598_ p_154088_, C_4675_ p_154089_, C_4687_ p_154090_, C_141260_ p_154091_)
private static void
a(dse arg0, dcb arg1, iz 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)
m_154230_(C_2064_ p_154231_, C_1598_ p_154232_, C_4675_ p_154233_)
public static void
a(dca arg0, iz arg1, dse 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)
m_154062_(C_1596_ p_154063_, C_4675_ p_154064_, C_2064_ p_154065_)
private static void
a(dca arg0, iz arg1, dse arg2, enw 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)
m_154071_(C_1596_ p_154072_, C_4675_ p_154073_, C_2064_ p_154074_, C_2690_ p_154075_)
private static BlockPos
a(dse arg0, dcb arg1, iz 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)
m_154130_(C_2064_ p_154131_, C_1598_ p_154132_, C_4675_ p_154133_, int p_154134_, boolean p_154135_)
private static Direction
b(dcd arg0, iz arg1, je 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)
m_154190_(C_1599_ p_154191_, C_4675_ p_154192_, C_4687_ p_154193_)
private static DripstoneThickness
a(dcd arg0, iz arg1, je 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)
m_154092_(C_1599_ p_154093_, C_4675_ p_154094_, C_4687_ p_154095_, boolean p_154096_)
public static boolean
m(dse arg0)
canDrip(BlockState arg0)
method_32783(class_2680 arg0)
canDrip(BlockState state)
m_154238_(C_2064_ p_154239_)
private static boolean
b(dse arg0, arf arg1, iz 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)
m_154194_(C_2064_ p_154195_, C_12_ p_154196_, C_4675_ p_154197_)
private static Optional<BlockPos>
a(dca arg0, iz arg1, dse 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)
m_154066_(C_1596_ p_154067_, C_4675_ p_154068_, C_2064_ p_154069_, int p_154070_)
private static boolean
c(dcd arg0, iz arg1, je 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)
m_154221_(C_1599_ p_154222_, C_4675_ p_154223_, C_4687_ p_154224_)
private static boolean
a(dse arg0, boolean arg1)
isTip(BlockState arg0, boolean arg1)
method_32784(class_2680 arg0, boolean arg1)
isTip(BlockState state, boolean allowMerged)
m_154153_(C_2064_ p_154154_, boolean p_154155_)
private static boolean
a(dse arg0, je arg1)
isUnmergedTipWithDirection(BlockState arg0, Direction arg1)
method_36372(class_2680 arg0, class_2350 arg1)
isTip(BlockState state, Direction direction)
m_154143_(C_2064_ p_154144_, C_4687_ p_154145_)
private static boolean
n(dse arg0)
isStalactite(BlockState arg0)
method_32785(class_2680 arg0)
isPointingDown(BlockState state)
m_154240_(C_2064_ p_154241_)
private static boolean
o(dse arg0)
isStalagmite(BlockState arg0)
method_35283(class_2680 arg0)
isPointingUp(BlockState state)
m_154242_(C_2064_ p_154243_)
private static boolean
b(dse arg0, dcd arg1, iz 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)
m_154203_(C_2064_ p_154204_, C_1599_ p_154205_, C_4675_ p_154206_)
protected boolean
a(dse arg0, eom arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_154115_, C_2754_ arg1)
private static boolean
b(dse arg0, je arg1)
isPointedDripstoneWithDirection(BlockState arg0, Direction arg1)
method_32774(class_2680 arg0, class_2350 arg1)
isPointedDripstoneFacingDirection(BlockState state, Direction direction)
m_154207_(C_2064_ p_154208_, C_4687_ p_154209_)
private static BlockPos
a(dca arg0, iz arg1, enw 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)
m_154076_(C_1596_ p_154077_, C_4675_ p_154078_, C_2690_ p_154079_)
public static BlockPos
a(dca arg0, iz arg1)
findStalactiteTipAboveCauldron(Level arg0, BlockPos arg1)
method_32767(class_1937 arg0, class_2338 arg1)
getDripPos(World world, BlockPos pos)
m_154055_(C_1596_ p_154056_, C_4675_ p_154057_)
public static Fluid
a(arf arg0, iz arg1)
getCauldronFillFluidType(ServerLevel arg0, BlockPos arg1)
method_32775(class_3218 arg0, class_2338 arg1)
getDripFluid(ServerWorld world, BlockPos pos)
m_221849_(C_12_ p_221850_, C_4675_ p_221851_)
private static Optional<PointedDripstoneBlock$FluidInfo>
b(dca arg0, iz arg1, dse 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)
m_154181_(C_1596_ p_154182_, C_4675_ p_154183_, C_2064_ p_154184_)
private static boolean
a(enw arg0)
canFillCauldron(Fluid arg0)
method_33273(class_3611 arg0)
isFluidLiquid(Fluid fluid)
m_154158_(C_2690_ p_154159_)
private static boolean
a(dse arg0, dse arg1)
canGrow(BlockState arg0, BlockState arg1)
method_36371(class_2680 arg0, class_2680 arg1)
canGrow(BlockState dripstoneBlockState, BlockState waterState)
m_154140_(C_2064_ p_154141_, C_2064_ p_154142_)
private static Fluid
a(dca arg0, enw arg1)
getDripFluid(Level arg0, Fluid arg1)
method_33271(class_1937 arg0, class_3611 arg1)
getDripFluid(World world, Fluid fluid)
m_154052_(C_1596_ p_154053_, C_2690_ p_154054_)
private static Optional<BlockPos>
a(dcb arg0, iz arg1, je$b arg2, BiPredicate<iz, dse> arg3, Predicate<dse> 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)
m_202006_(C_1598_ p_202007_, C_4675_ p_202008_, C_4687_$C_4693_ p_202009_, BiPredicate<C_4675_, C_2064_> p_202010_, Predicate<C_2064_> p_202011_, int p_202012_)
private static boolean
a(dbg arg0, iz arg1, dse 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)
m_202017_(C_1559_ p_202018_, C_4675_ p_202019_, C_2064_ p_202020_)