net.minecraft.world.level.block

public class PointedDripstoneBlock

extends Block implements Fallable, SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, Fallable, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

ciq
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 DirectionProperty
a
TIP_DIRECTION
field_28050
VERTICAL_DIRECTION
f_154009_
public static final EnumProperty<DripstoneThickness>
b
THICKNESS
field_28051
THICKNESS
f_154010_
public static final BooleanProperty
c
WATERLOGGED
field_28052
WATERLOGGED
f_154011_
private static final int
d
MAX_SEARCH_LENGTH_WHEN_CHECKING_DRIP_TYPE
field_31205
field_31205
f_154012_
private static final int
e
DELAY_BEFORE_FALLING
field_31207
field_31207
f_154014_
private static final float
f
DRIP_PROBABILITY_PER_ANIMATE_TICK
field_31208
field_31208
f_154015_
private static final float
g
DRIP_PROBABILITY_PER_ANIMATE_TICK_IF_UNDER_LIQUID_SOURCE
field_31209
field_31209
f_154016_
private static final int
h
MAX_SEARCH_LENGTH_BETWEEN_STALACTITE_TIP_AND_CAULDRON
field_31210
field_31210
f_154017_
private static final float
i
WATER_CAULDRON_FILL_PROBABILITY_PER_RANDOM_TICK
field_31211
field_31211
f_154018_
private static final float
j
LAVA_CAULDRON_FILL_PROBABILITY_PER_RANDOM_TICK
field_31212
field_31212
f_154019_
private static final double
k
MIN_TRIDENT_VELOCITY_TO_BREAK_DRIPSTONE
field_31213
field_31213
f_154020_
private static final float
l
STALACTITE_DAMAGE_PER_FALL_DISTANCE_AND_SIZE
field_31214
field_31214
f_154021_
private static final int
m
STALACTITE_MAX_DAMAGE
field_31215
field_31215
f_154022_
private static final int
n
MAX_STALACTITE_HEIGHT_FOR_DAMAGE_CALCULATION
field_31200
field_31200
f_153994_
private static final float
E
STALAGMITE_FALL_DISTANCE_OFFSET
field_31201
field_31201
f_153995_
private static final int
F
STALAGMITE_FALL_DAMAGE_MODIFIER
field_31202
field_31202
f_153996_
private static final float
G
AVERAGE_DAYS_PER_GROWTH
field_33566
field_33566
f_153997_
private static final float
H
GROWTH_PROBABILITY_PER_RANDOM_TICK
field_33567
field_33567
f_153998_
private static final int
I
MAX_GROWTH_LENGTH
field_33568
MAX_STALACTITE_GROWTH
f_153999_
private static final int
J
MAX_STALAGMITE_SEARCH_RANGE_WHEN_GROWING
field_33569
STALACTITE_FLOOR_SEARCH_RANGE
f_154000_
private static final float
K
STALACTITE_DRIP_START_PIXEL
field_31203
field_31203
f_154001_
private static final VoxelShape
L
TIP_MERGE_SHAPE
field_28053
TIP_MERGE_SHAPE
f_154002_
private static final VoxelShape
M
TIP_SHAPE_UP
field_28054
UP_TIP_SHAPE
f_154003_
private static final VoxelShape
N
TIP_SHAPE_DOWN
field_28055
DOWN_TIP_SHAPE
f_154004_
private static final VoxelShape
O
FRUSTUM_SHAPE
field_28058
BASE_SHAPE
f_154005_
private static final VoxelShape
P
MIDDLE_SHAPE
field_28056
FRUSTUM_SHAPE
f_154006_
private static final VoxelShape
Q
BASE_SHAPE
field_28057
MIDDLE_SHAPE
f_154007_
private static final float
R
MAX_HORIZONTAL_OFFSET
field_31204
field_31204
f_154008_
private static final VoxelShape
S
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
protected void
a(cow$a<cdq, cov> 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)
public boolean
a(cov arg0, cay arg1, gj 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)
public BlockState
a(cov arg0, go arg1, cov arg2, caw arg3, gj arg4, gj 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)
public void
a(cav arg0, cov arg1, dpk arg2, boz 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(cav arg0, cov arg1, gj arg2, axk 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(cov arg0, cav arg1, gj arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_7100_(C_2064_ p_154123_, C_1596_ p_154124_, C_4675_ p_154125_, Random arg3)
public void
a(cov arg0, adw arg1, gj arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_154108_, C_12_ p_154109_, C_4675_ p_154110_, Random arg3)
public void
b(cov arg0, adw arg1, gj arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7455_(C_2064_ p_154200_, C_12_ p_154201_, C_4675_ p_154202_, Random arg3)
public static void
a(cov arg0, adw arg1, gj arg2, float arg3)
maybeFillCauldron(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_154101_(C_2064_ p_154102_, C_12_ p_154103_, C_4675_ p_154104_, float p_154105_)
public PushReaction
d(cov arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
public BlockState
a(bww arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public FluidState
c_(cov arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public VoxelShape
b_(cov arg0, cab arg1, gj 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)
public VoxelShape
a(cov arg0, cab arg1, gj arg2, dpt 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)
public boolean
a_(cov arg0, cab arg1, gj 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)
public BlockBehaviour$OffsetType
U_()
getOffsetType()
method_16841()
getOffsetType()
m_5858_()
public float
W_()
getMaxHorizontalOffset()
method_32913()
getMaxHorizontalModelOffset()
m_142740_()
public void
a(cav arg0, gj arg1, blh 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
b()
getFallDamageSource()
method_32898()
getDamageSource()
m_142088_()
public Predicate<Entity>
V_()
getHurtsEntitySelector()
method_32897()
getEntityPredicate()
m_142398_()
private static void
a(cov arg0, adw arg1, gj 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(cov arg0, adw arg1, gj arg2, Random arg3)
growStalactiteOrStalagmiteIfPossible(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_36375(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
tryGrow(BlockState state, ServerWorld world, BlockPos pos, Random random)
m_154225_(C_2064_ p_154226_, C_12_ p_154227_, C_4675_ p_154228_, Random p_154229_)
private static void
a(adw arg0, gj 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(adw arg0, gj arg1, go 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(caw arg0, gj arg1, go arg2, cps 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(cov arg0, caw arg1, gj 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(cav arg0, gj arg1, cov 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(cav arg0, gj arg1, cov arg2, diw 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(cov arg0, caw arg1, gj 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(cay arg0, gj arg1, go 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(cay arg0, gj arg1, go 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
h(cov arg0)
canDrip(BlockState arg0)
method_32783(class_2680 arg0)
canDrip(BlockState state)
m_154238_(C_2064_ p_154239_)
private static boolean
b(cov arg0, adw arg1, gj 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(cav arg0, gj arg1, cov 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(cay arg0, gj arg1, go 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(cov 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(cov arg0, go 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(cov arg0)
isStalactite(BlockState arg0)
method_32785(class_2680 arg0)
isPointingDown(BlockState state)
m_154240_(C_2064_ p_154241_)
private static boolean
o(cov arg0)
isStalagmite(BlockState arg0)
method_35283(class_2680 arg0)
isPointingUp(BlockState state)
m_154242_(C_2064_ p_154243_)
private static boolean
b(cov arg0, cay arg1, gj 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_)
public boolean
a(cov arg0, cab arg1, gj arg2, djo arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_154113_, C_1559_ p_154114_, C_4675_ p_154115_, C_2754_ arg3)
private static boolean
b(cov arg0, go 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(cav arg0, gj arg1, diw 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(cav arg0, gj 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
b(cav arg0, gj arg1)
getCauldronFillFluidType(Level arg0, BlockPos arg1)
method_32775(class_1937 arg0, class_2338 arg1)
getDripFluid(World world, BlockPos pos)
m_154178_(C_1596_ p_154179_, C_4675_ p_154180_)
private static Optional<Fluid>
b(cav arg0, gj arg1, cov 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(diw arg0)
canFillCauldron(Fluid arg0)
method_33273(class_3611 arg0)
isFluidLiquid(Fluid fluid)
m_154158_(C_2690_ p_154159_)
private static boolean
a(cov arg0, cov 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(cav arg0, diw 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(caw arg0, gj arg1, go$b arg2, BiPredicate<gj, cov> arg3, Predicate<cov> 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
b(cab arg0, gj arg1, cov 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_)