net.minecraft.world.level.block

public class PointedDripstoneBlock

extends Block implements Fallable, SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, Fallable, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

chy
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
MAX_SEARCH_LENGTH_WHEN_LOOKING_FOR_TIP_OF_FALLING_STALACTITE
field_31206
field_31206
f_154013_
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_CAULDRON_FILL_PROBABILITY_PER_RANDOM_TICK
field_31211
field_31211
f_154018_
private static final float
k
LAVA_CAULDRON_FILL_PROBABILITY_PER_RANDOM_TICK
field_31212
field_31212
f_154019_
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
F
MAX_STALACTITE_HEIGHT_FOR_DAMAGE_CALCULATION
field_31200
field_31200
f_153994_
private static final float
G
STALAGMITE_FALL_DISTANCE_OFFSET
field_31201
field_31201
f_153995_
private static final int
H
STALAGMITE_FALL_DAMAGE_MODIFIER
field_31202
field_31202
f_153996_
private static final float
I
AVERAGE_DAYS_PER_GROWTH
field_33566
field_33566
f_153997_
private static final float
J
GROWTH_PROBABILITY_PER_RANDOM_TICK
field_33567
field_33567
f_153998_
private static final int
K
MAX_GROWTH_LENGTH
field_33568
MAX_STALACTITE_GROWTH
f_153999_
private static final int
L
MAX_STALAGMITE_SEARCH_RANGE_WHEN_GROWING
field_33569
STALACTITE_FLOOR_SEARCH_RANGE
f_154000_
private static final float
M
STALACTITE_DRIP_START_PIXEL
field_31203
field_31203
f_154001_
private static final VoxelShape
N
TIP_MERGE_SHAPE
field_28053
TIP_MERGE_SHAPE
f_154002_
private static final VoxelShape
O
TIP_SHAPE_UP
field_28054
UP_TIP_SHAPE
f_154003_
private static final VoxelShape
P
TIP_SHAPE_DOWN
field_28055
DOWN_TIP_SHAPE
f_154004_
private static final VoxelShape
Q
FRUSTUM_SHAPE
field_28058
BASE_SHAPE
f_154005_
private static final VoxelShape
R
MIDDLE_SHAPE
field_28056
FRUSTUM_SHAPE
f_154006_
private static final VoxelShape
S
BASE_SHAPE
field_28057
MIDDLE_SHAPE
f_154007_
private static final float
T
MAX_HORIZONTAL_OFFSET
field_31204
field_31204
f_154008_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected void
a(cod$a<ccy, coc> 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(coc arg0, cag arg1, gh 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(coc arg0, gm arg1, coc arg2, cae arg3, gh arg4, gh 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(cad arg0, coc arg1, doi arg2, boh 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(cad arg0, coc arg1, gh arg2, awt 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(coc arg0, cad arg1, gh 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(coc arg0, adi arg1, gh 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(coc arg0, adi arg1, gh 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(coc arg0, adi arg1, gh 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(coc arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
public BlockState
a(bwe arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public FluidState
c_(coc arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public VoxelShape
b_(coc arg0, bzj arg1, gh 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(coc arg0, bzj arg1, gh arg2, dor 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_(coc arg0, bzj arg1, gh 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
T_()
getOffsetType()
method_16841()
getOffsetType()
m_5858_()
public float
V_()
getMaxHorizontalOffset()
method_32913()
getMaxModelOffset()
m_142740_()
public void
a(cad arg0, gh arg1, bkp 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>
U_()
getHurtsEntitySelector()
method_32897()
getEntityPredicate()
m_142398_()
private void
a(coc arg0, cae arg1, gh arg2)
scheduleStalactiteFallTicks(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_32773(class_2680 arg0, class_1936 arg1, class_2338 arg2)
scheduleFall(BlockState state, WorldAccess world, BlockPos pos)
m_154126_(C_2064_ p_154128_, C_1598_ p_154129_, C_4675_ arg2)
private static int
b(adi arg0, gh arg1, int arg2)
getStalactiteSizeFromTip(ServerLevel arg0, BlockPos arg1, int arg2)
method_32900(class_3218 arg0, class_2338 arg1, int arg2)
getStalactiteSize(ServerWorld world, BlockPos pos, int range)
m_154174_(C_12_ p_154175_, C_4675_ p_154176_, int p_154177_)
private static void
a(coc arg0, adi arg1, gh 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(coc arg0, adi arg1, gh 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(adi arg0, gh 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(adi arg0, gh arg1, gm 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(cae arg0, gh arg1, gm arg2, cpa 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
c(coc arg0, cae arg1, gh 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(cad arg0, gh arg1, coc 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(cad arg0, gh arg1, coc arg2, dhu 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(coc arg0, cae arg1, gh 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(cag arg0, gh arg1, gm 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(cag arg0, gh arg1, gm 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(coc arg0)
canDrip(BlockState arg0)
method_32783(class_2680 arg0)
canDrip(BlockState state)
m_154238_(C_2064_ p_154239_)
private static boolean
b(coc arg0, adi arg1, gh 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(cad arg0, gh arg1, coc 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(cag arg0, gh arg1, gm 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(coc 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(coc arg0, gm 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(coc arg0)
isStalactite(BlockState arg0)
method_32785(class_2680 arg0)
isPointingDown(BlockState state)
m_154240_(C_2064_ p_154241_)
private static boolean
o(coc arg0)
isStalagmite(BlockState arg0)
method_35283(class_2680 arg0)
isPointingUp(BlockState state)
m_154242_(C_2064_ p_154243_)
private static boolean
b(coc arg0, cag arg1, gh 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(coc arg0, bzj arg1, gh arg2, dim 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(coc arg0, gm 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(cad arg0, gh arg1, dhu 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(cad arg0, gh 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(cad arg0, gh 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(cad arg0, gh arg1, coc 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(dhu arg0)
canFillCauldron(Fluid arg0)
method_33273(class_3611 arg0)
isFluidLiquid(Fluid fluid)
m_154158_(C_2690_ p_154159_)
private static boolean
a(coc arg0, coc 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(cad arg0, dhu 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(cae arg0, gh arg1, gm$b arg2, Predicate<coc> arg3, Predicate<coc> arg4, int arg5)
findBlockVertical(LevelAccessor arg0, BlockPos arg1, Direction$AxisDirection arg2, Predicate<BlockState> arg3, Predicate<BlockState> arg4, int arg5)
method_33272(class_1936 arg0, class_2338 arg1, class_2350$class_2352 arg2, Predicate<class_2680> arg3, Predicate<class_2680> arg4, int arg5)
searchInDirection(WorldAccess world, BlockPos pos, Direction$AxisDirection direction, Predicate<BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range)
m_154080_(C_1598_ p_154081_, C_4675_ p_154082_, C_4687_$C_4693_ p_154083_, Predicate<C_2064_> p_154084_, Predicate<C_2064_> p_154085_, int p_154086_)