Class PointedDripstoneBlock
- All Implemented Interfaces:
FluidDrainable
,FluidFillable
,LandingBlock
,Waterloggable
,ItemConvertible
,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/block/PointedDripstoneBlock
intermediary net/minecraft/class_5689
official dks
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final VoxelShape
static final com.mojang.serialization.MapCodec
<PointedDripstoneBlock> private static final VoxelShape
private static final VoxelShape
private static final int
private static final float
private static final int
private static final float
private static final float
private static final int
private static final int
private static final float
private static final float
private static final int
private static final double
private static final float
private static final int
private static final float
private static final float
private static final VoxelShape
private static final float
private static final int
private static final VoxelShape
private static final int
static final EnumProperty
<Thickness> private static final VoxelShape
private static final VoxelShape
static final DirectionProperty
private static final float
static final BooleanProperty
Fields inherited from class net.minecraft.block.Block
field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.static boolean
canDrip
(BlockState state) private static boolean
canDripThrough
(BlockView world, BlockPos pos, BlockState state) Returns whether it can drip through the blockblock
atpos
.private static boolean
canGrow
(BlockState dripstoneBlockState, BlockState waterState) private static boolean
canGrow
(BlockState state, ServerWorld world, BlockPos pos) protected boolean
canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.protected boolean
canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.private static boolean
canPlaceAtWithDirection
(WorldView world, BlockPos pos, Direction direction) static void
createParticle
(World world, BlockPos pos, BlockState state) private static void
createParticle
(World world, BlockPos pos, BlockState state, Fluid fluid) static void
dripTick
(BlockState state, ServerWorld world, BlockPos pos, float dripChance) getCauldronPos
(World world, BlockPos pos, Fluid fluid) com.mojang.serialization.MapCodec
<PointedDripstoneBlock> getCodec()
protected VoxelShape
getCullingShape
(BlockState state, BlockView world, BlockPos pos) getDamageSource
(Entity attacker) getDirectionToPlaceAt
(WorldView world, BlockPos pos, Direction direction) static Fluid
getDripFluid
(ServerWorld world, BlockPos pos) private static Fluid
getDripFluid
(World world, Fluid fluid) getDripPos
(World world, BlockPos pos) private static Optional
<PointedDripstoneBlock.DrippingFluid> getFluid
(World world, BlockPos pos, BlockState state) protected FluidState
getFluidState
(BlockState state) Returns the state's associated fluid state.protected float
protected VoxelShape
getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected BlockState
getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.getSupportingPos
(World world, BlockPos pos, BlockState state, int range) private static Thickness
getThickness
(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) getTipPos
(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) private static void
growMerged
(BlockState state, WorldAccess world, BlockPos pos) private static boolean
isFluidLiquid
(Fluid fluid) Returns whether the providedfluid
is liquid, namely lava or water.private static boolean
isHeldByPointedDripstone
(BlockState state, WorldView world, BlockPos pos) private static boolean
isPointedDripstoneFacingDirection
(BlockState state, Direction direction) private static boolean
isPointingDown
(BlockState state) private static boolean
isPointingUp
(BlockState state) protected boolean
isShapeFullCube
(BlockState state, BlockView world, BlockPos pos) private static boolean
isTip
(BlockState state, boolean allowMerged) private static boolean
isTip
(BlockState state, Direction direction) void
onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) void
onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.protected void
onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.private static void
place
(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) void
randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.protected void
randomTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected void
scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) private static void
spawnFallingBlock
(BlockState state, ServerWorld world, BlockPos pos) static void
tryGrow
(BlockState state, ServerWorld world, BlockPos pos, Random random) private static void
tryGrow
(ServerWorld world, BlockPos pos, Direction direction) private static void
tryGrowStalagmite
(ServerWorld world, BlockPos pos) Methods inherited from class net.minecraft.block.Block
afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableKey, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isSideInvisible, isTransparent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, rotate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.LandingBlock
onLanding
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
Methods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/block/PointedDripstoneBlock;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_46413
Lnet/minecraft/class_5689;field_46413:Lcom/mojang/serialization/MapCodec;
official a
Ldks;a:Lcom/mojang/serialization/MapCodec;
-
VERTICAL_DIRECTION
- Mappings:
Namespace Name Mixin selector named VERTICAL_DIRECTION
Lnet/minecraft/block/PointedDripstoneBlock;VERTICAL_DIRECTION:Lnet/minecraft/state/property/DirectionProperty;
intermediary field_28050
Lnet/minecraft/class_5689;field_28050:Lnet/minecraft/class_2753;
official b
Ldks;b:Ldsx;
-
THICKNESS
- Mappings:
Namespace Name Mixin selector named THICKNESS
Lnet/minecraft/block/PointedDripstoneBlock;THICKNESS:Lnet/minecraft/state/property/EnumProperty;
intermediary field_28051
Lnet/minecraft/class_5689;field_28051:Lnet/minecraft/class_2754;
official c
Ldks;c:Ldtb;
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector named WATERLOGGED
Lnet/minecraft/block/PointedDripstoneBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
intermediary field_28052
Lnet/minecraft/class_5689;field_28052:Lnet/minecraft/class_2746;
official d
Ldks;d:Ldsu;
-
field_31205
private static final int field_31205- See Also:
- Mappings:
Namespace Name Mixin selector named field_31205
Lnet/minecraft/block/PointedDripstoneBlock;field_31205:I
intermediary field_31205
Lnet/minecraft/class_5689;field_31205:I
official e
Ldks;e:I
-
field_31207
private static final int field_31207- See Also:
- Mappings:
Namespace Name Mixin selector named field_31207
Lnet/minecraft/block/PointedDripstoneBlock;field_31207:I
intermediary field_31207
Lnet/minecraft/class_5689;field_31207:I
official f
Ldks;f:I
-
field_31208
private static final float field_31208- See Also:
- Mappings:
Namespace Name Mixin selector named field_31208
Lnet/minecraft/block/PointedDripstoneBlock;field_31208:F
intermediary field_31208
Lnet/minecraft/class_5689;field_31208:F
official g
Ldks;g:F
-
field_31209
private static final float field_31209- See Also:
- Mappings:
Namespace Name Mixin selector named field_31209
Lnet/minecraft/block/PointedDripstoneBlock;field_31209:F
intermediary field_31209
Lnet/minecraft/class_5689;field_31209:F
official h
Ldks;h:F
-
field_31210
private static final int field_31210- See Also:
- Mappings:
Namespace Name Mixin selector named field_31210
Lnet/minecraft/block/PointedDripstoneBlock;field_31210:I
intermediary field_31210
Lnet/minecraft/class_5689;field_31210:I
official i
Ldks;i:I
-
WATER_DRIP_CHANCE
private static final float WATER_DRIP_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named WATER_DRIP_CHANCE
Lnet/minecraft/block/PointedDripstoneBlock;WATER_DRIP_CHANCE:F
intermediary field_31211
Lnet/minecraft/class_5689;field_31211:F
official j
Ldks;j:F
-
LAVA_DRIP_CHANCE
private static final float LAVA_DRIP_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named LAVA_DRIP_CHANCE
Lnet/minecraft/block/PointedDripstoneBlock;LAVA_DRIP_CHANCE:F
intermediary field_31212
Lnet/minecraft/class_5689;field_31212:F
official k
Ldks;k:F
-
field_31213
private static final double field_31213- See Also:
- Mappings:
Namespace Name Mixin selector named field_31213
Lnet/minecraft/block/PointedDripstoneBlock;field_31213:D
intermediary field_31213
Lnet/minecraft/class_5689;field_31213:D
official l
Ldks;l:D
-
field_31214
private static final float field_31214- See Also:
- Mappings:
Namespace Name Mixin selector named field_31214
Lnet/minecraft/block/PointedDripstoneBlock;field_31214:F
intermediary field_31214
Lnet/minecraft/class_5689;field_31214:F
official m
Ldks;m:F
-
field_31215
private static final int field_31215- See Also:
- Mappings:
Namespace Name Mixin selector named field_31215
Lnet/minecraft/block/PointedDripstoneBlock;field_31215:I
intermediary field_31215
Lnet/minecraft/class_5689;field_31215:I
official n
Ldks;n:I
-
field_31200
private static final int field_31200- See Also:
- Mappings:
Namespace Name Mixin selector named field_31200
Lnet/minecraft/block/PointedDripstoneBlock;field_31200:I
intermediary field_31200
Lnet/minecraft/class_5689;field_31200:I
official o
Ldks;o:I
-
field_31201
private static final float field_31201- See Also:
- Mappings:
Namespace Name Mixin selector named field_31201
Lnet/minecraft/block/PointedDripstoneBlock;field_31201:F
intermediary field_31201
Lnet/minecraft/class_5689;field_31201:F
official F
Ldks;F:F
-
field_31202
private static final int field_31202- See Also:
- Mappings:
Namespace Name Mixin selector named field_31202
Lnet/minecraft/block/PointedDripstoneBlock;field_31202:I
intermediary field_31202
Lnet/minecraft/class_5689;field_31202:I
official G
Ldks;G:I
-
field_33566
private static final float field_33566- See Also:
- Mappings:
Namespace Name Mixin selector named field_33566
Lnet/minecraft/block/PointedDripstoneBlock;field_33566:F
intermediary field_33566
Lnet/minecraft/class_5689;field_33566:F
official H
Ldks;H:F
-
field_33567
private static final float field_33567- See Also:
- Mappings:
Namespace Name Mixin selector named field_33567
Lnet/minecraft/block/PointedDripstoneBlock;field_33567:F
intermediary field_33567
Lnet/minecraft/class_5689;field_33567:F
official I
Ldks;I:F
-
MAX_STALACTITE_GROWTH
private static final int MAX_STALACTITE_GROWTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_STALACTITE_GROWTH
Lnet/minecraft/block/PointedDripstoneBlock;MAX_STALACTITE_GROWTH:I
intermediary field_33568
Lnet/minecraft/class_5689;field_33568:I
official J
Ldks;J:I
-
STALACTITE_FLOOR_SEARCH_RANGE
private static final int STALACTITE_FLOOR_SEARCH_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named STALACTITE_FLOOR_SEARCH_RANGE
Lnet/minecraft/block/PointedDripstoneBlock;STALACTITE_FLOOR_SEARCH_RANGE:I
intermediary field_33569
Lnet/minecraft/class_5689;field_33569:I
official K
Ldks;K:I
-
field_31203
private static final float field_31203- See Also:
- Mappings:
Namespace Name Mixin selector named field_31203
Lnet/minecraft/block/PointedDripstoneBlock;field_31203:F
intermediary field_31203
Lnet/minecraft/class_5689;field_31203:F
official L
Ldks;L:F
-
TIP_MERGE_SHAPE
- Mappings:
Namespace Name Mixin selector named TIP_MERGE_SHAPE
Lnet/minecraft/block/PointedDripstoneBlock;TIP_MERGE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_28053
Lnet/minecraft/class_5689;field_28053:Lnet/minecraft/class_265;
official M
Ldks;M:Lewl;
-
UP_TIP_SHAPE
- Mappings:
Namespace Name Mixin selector named UP_TIP_SHAPE
Lnet/minecraft/block/PointedDripstoneBlock;UP_TIP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_28054
Lnet/minecraft/class_5689;field_28054:Lnet/minecraft/class_265;
official N
Ldks;N:Lewl;
-
DOWN_TIP_SHAPE
- Mappings:
Namespace Name Mixin selector named DOWN_TIP_SHAPE
Lnet/minecraft/block/PointedDripstoneBlock;DOWN_TIP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_28055
Lnet/minecraft/class_5689;field_28055:Lnet/minecraft/class_265;
official O
Ldks;O:Lewl;
-
BASE_SHAPE
- Mappings:
Namespace Name Mixin selector named BASE_SHAPE
Lnet/minecraft/block/PointedDripstoneBlock;BASE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_28058
Lnet/minecraft/class_5689;field_28058:Lnet/minecraft/class_265;
official P
Ldks;P:Lewl;
-
FRUSTUM_SHAPE
- Mappings:
Namespace Name Mixin selector named FRUSTUM_SHAPE
Lnet/minecraft/block/PointedDripstoneBlock;FRUSTUM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_28056
Lnet/minecraft/class_5689;field_28056:Lnet/minecraft/class_265;
official Q
Ldks;Q:Lewl;
-
MIDDLE_SHAPE
- Mappings:
Namespace Name Mixin selector named MIDDLE_SHAPE
Lnet/minecraft/block/PointedDripstoneBlock;MIDDLE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_28057
Lnet/minecraft/class_5689;field_28057:Lnet/minecraft/class_265;
official R
Ldks;R:Lewl;
-
field_31204
private static final float field_31204- See Also:
- Mappings:
Namespace Name Mixin selector named field_31204
Lnet/minecraft/block/PointedDripstoneBlock;field_31204:F
intermediary field_31204
Lnet/minecraft/class_5689;field_31204:F
official S
Ldks;S:F
-
DRIP_COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector named DRIP_COLLISION_SHAPE
Lnet/minecraft/block/PointedDripstoneBlock;DRIP_COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_36340
Lnet/minecraft/class_5689;field_36340:Lnet/minecraft/class_265;
official T
Ldks;T:Lewl;
-
-
Constructor Details
-
PointedDripstoneBlock
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
official <init>
Ldsc;<init>(Ldsc$d;)V
-
-
Method Details
-
getCodec
- Overrides:
getCodec
in classBlock
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_53969
Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
official a
Ldsc;a()Lcom/mojang/serialization/MapCodec;
-
appendProperties
Appends block state properties to this block. To use this, override and callStateManager.Builder.add(net.minecraft.state.property.Property<?>[])
inside the method. SeeProperties
for the list of pre-defined properties.- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector named appendProperties
Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
official a
Ldfa;a(Ldse$a;)V
-
canPlaceAt
Returns whether the block can be placed atpos
.Blocks with supporting block requirements should override this method. Note that this should also be checked manually during
getStateForNeighborUpdate(net.minecraft.block.BlockState, net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos)
in order to break the block that lost its supporting block.This is only checked during the use of block items or by endermen, falling blocks, etc that can place blocks. This does not affect block state changes performed through
World.setBlockState(BlockPos, BlockState)
call.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient
.- Overrides:
canPlaceAt
in classAbstractBlock
- Returns:
- whether the block can be placed at
pos
- See Also:
- Mappings:
Namespace Name Mixin selector named canPlaceAt
Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_9558
Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
official a
Ldsc;a(Ldsd;Ldcc;Liz;)Z
-
getStateForNeighborUpdate
protected BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.Returning
Blocks.AIR
breaks the block. This is useful to implement supporting block requirement for blocks (if used along withcanPlaceAt(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos)
).Side effects like activating a redstone component (but not scheduling a tick) should be performed in
AbstractBlock.neighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.Block, net.minecraft.util.math.BlockPos, boolean)
instead. If the block supports waterlogging and currently has water, this method should be overridden to tick the fluid at the block's position.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient
. This is not called ifBlock.FORCE_STATE
flag is set in thesetBlockState
call.This method can be used for multiple purposes. Here are some examples:
FenceBlock
uses it to update the fence's connection when a horizontally neighboring block's state is changed.PlantBlock
uses it to break the plant if the state change causes it to lose its supporting block.DoorBlock
uses it to copy the state of the other half of the door.SlabBlock
uses it to schedule the fluid to tick if waterlogged.SoulSandBlock
uses it to schedule the water block above to tick so that it becomes a bubble column.FallingBlock
uses it to schedule the block to tick so that it can fall if needed.
- Overrides:
getStateForNeighborUpdate
in classAbstractBlock
- Parameters:
state
- the state of this blockdirection
- the direction from this block to the neighborneighborState
- the state of the updated neighbor blockworld
- the worldpos
- the position of this blockneighborPos
- the position of the neighbor block- Returns:
- the state of the block after a neighboring block's state change
- See Also:
- Mappings:
Namespace Name Mixin selector named getStateForNeighborUpdate
Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
intermediary method_9559
Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
official a
Ldsc;a(Ldsd;Lje;Ldsd;Ldca;Liz;Liz;)Ldsd;
-
onProjectileHit
protected void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient
.Here are some examples:
TargetBlock
activates.BellBlock
rings.LightningRodBlock
spawns a lightning.AbstractCandleBlock
lights on fire when hit by a projectile on fire.
- Overrides:
onProjectileHit
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named onProjectileHit
Lnet/minecraft/block/AbstractBlock;onProjectileHit(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/entity/projectile/ProjectileEntity;)V
intermediary method_19286
Lnet/minecraft/class_4970;method_19286(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_3965;Lnet/minecraft/class_1676;)V
official a
Ldsc;a(Ldbz;Ldsd;Levo;Lcnq;)V
-
onLandedUpon
public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.Default implementation deals fall damage to the entity. Blocks that increase or reduce fall damage (like
HayBlock
) should override this.FarmlandBlock
overrides this method to convert the block to dirt.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient
.- Overrides:
onLandedUpon
in classBlock
- Mappings:
Namespace Name Mixin selector named onLandedUpon
Lnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
intermediary method_9554
Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)V
official a
Ldfa;a(Ldbz;Ldsd;Liz;Lbsv;F)V
-
randomDisplayTick
Called randomly on the client. Blocks may override this to spawn particles. UnlikeAbstractBlock.randomTick(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.util.math.random.Random)
this is not affected by a game rule.- Overrides:
randomDisplayTick
in classBlock
- Mappings:
Namespace Name Mixin selector named randomDisplayTick
Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
intermediary method_9496
Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
official a
Ldfa;a(Ldsd;Ldbz;Liz;Lazh;)V
-
scheduledTick
Called server-side when a block receives a scheduled tick. This can be used like a timer. Scheduled ticks are added usingWorldAccess.scheduleBlockTick(BlockPos, Block, int)
.Scheduled ticks are often used inside
getStateForNeighborUpdate(net.minecraft.block.BlockState, net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos)
.Here are some examples:
SugarCaneBlock
checks the placement requirement.DispenserBlock
dispenses its content.CommandBlock
executes its command.FrogspawnBlock
spawns a tadpole.SoulSandBlock
updates a bubble column.FallingBlock
tries to fall.
- Overrides:
scheduledTick
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named scheduledTick
Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
intermediary method_9588
Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
official a
Ldsc;a(Ldsd;Larf;Liz;Lazh;)V
-
randomTick
Called server-side when a block gets ticked randomly. This can be overridden to implement various logics, most commonly plant growth. Default implementation does nothing. To control the rate of the action, userandom
.Random tick speed is controlled by the game rule
randomTickSpeed
and can be disabled. Only blocks within 128-block cylinder (i.e. ignoring Y coordinates) around players receive random ticks.Blocks overriding this must use
AbstractBlock.Settings.ticksRandomly()
block settings.Here are some examples:
SugarCaneBlock
uses this to grow sugar cane.OxidizableBlock
uses this to oxidize.NetherPortalBlock
uses this to spawn zombified piglins.LeavesBlock
uses this to decay when far from logs.
- Overrides:
randomTick
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named randomTick
Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
intermediary method_9514
Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
official b
Ldsc;b(Ldsd;Larf;Liz;Lazh;)V
-
dripTick
- Mappings:
Namespace Name Mixin selector named dripTick
Lnet/minecraft/block/PointedDripstoneBlock;dripTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;F)V
intermediary method_32772
Lnet/minecraft/class_5689;method_32772(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;F)V
official a
Ldks;a(Ldsd;Larf;Liz;F)V
-
getPlacementState
- Overrides:
getPlacementState
in classBlock
- Mappings:
Namespace Name Mixin selector named getPlacementState
Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
intermediary method_9605
Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
official a
Ldfa;a(Lcyb;)Ldsd;
-
getFluidState
Returns the state's associated fluid state.Waterloggable blocks must override this to return
Fluids.WATER.getStill(false)
when waterlogged.- Overrides:
getFluidState
in classAbstractBlock
- Returns:
- the state's associated fluid state
- See Also:
- Mappings:
Namespace Name Mixin selector named getFluidState
Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
intermediary method_9545
Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
official b_
Ldsc;b_(Ldsd;)Lenw;
-
getCullingShape
- Overrides:
getCullingShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named getCullingShape
Lnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
intermediary method_9571
Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
official f
Ldsc;f(Ldsd;Ldbf;Liz;)Lewl;
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named getOutlineShape
Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
intermediary method_9530
Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
official a
Ldsc;a(Ldsd;Ldbf;Liz;Levx;)Lewl;
-
isShapeFullCube
- Overrides:
isShapeFullCube
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named isShapeFullCube
Lnet/minecraft/block/AbstractBlock;isShapeFullCube(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_37403
Lnet/minecraft/class_4970;method_37403(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
official c
Ldsc;c(Ldsd;Ldbf;Liz;)Z
-
getMaxHorizontalModelOffset
protected float getMaxHorizontalModelOffset()- Overrides:
getMaxHorizontalModelOffset
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector named getMaxHorizontalModelOffset
Lnet/minecraft/block/AbstractBlock;getMaxHorizontalModelOffset()F
intermediary method_32913
Lnet/minecraft/class_4970;method_32913()F
official aq_
Ldsc;aq_()F
-
onDestroyedOnLanding
- Specified by:
onDestroyedOnLanding
in interfaceLandingBlock
- Mappings:
Namespace Name Mixin selector named onDestroyedOnLanding
Lnet/minecraft/block/LandingBlock;onDestroyedOnLanding(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/FallingBlockEntity;)V
intermediary method_10129
Lnet/minecraft/class_5688;method_10129(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1540;)V
official a
Ldhv;a(Ldbz;Liz;Lcjh;)V
-
getDamageSource
- Specified by:
getDamageSource
in interfaceLandingBlock
- Mappings:
Namespace Name Mixin selector named getDamageSource
Lnet/minecraft/block/LandingBlock;getDamageSource(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
intermediary method_32898
Lnet/minecraft/class_5688;method_32898(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
official a
Ldhv;a(Lbsv;)Lbro;
-
spawnFallingBlock
- Mappings:
Namespace Name Mixin selector named spawnFallingBlock
Lnet/minecraft/block/PointedDripstoneBlock;spawnFallingBlock(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_32771
Lnet/minecraft/class_5689;method_32771(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
official a
Ldks;a(Ldsd;Larf;Liz;)V
-
tryGrow
- Mappings:
Namespace Name Mixin selector named tryGrow
Lnet/minecraft/block/PointedDripstoneBlock;tryGrow(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
intermediary method_36375
Lnet/minecraft/class_5689;method_36375(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
official c
Ldks;c(Ldsd;Larf;Liz;Lazh;)V
-
tryGrowStalagmite
- Mappings:
Namespace Name Mixin selector named tryGrowStalagmite
Lnet/minecraft/block/PointedDripstoneBlock;tryGrowStalagmite(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36368
Lnet/minecraft/class_5689;method_36368(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
official b
Ldks;b(Larf;Liz;)V
-
tryGrow
- Mappings:
Namespace Name Mixin selector named tryGrow
Lnet/minecraft/block/PointedDripstoneBlock;tryGrow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
intermediary method_36369
Lnet/minecraft/class_5689;method_36369(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
official a
Ldks;a(Larf;Liz;Lje;)V
-
place
private static void place(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) - Mappings:
Namespace Name Mixin selector named place
Lnet/minecraft/block/PointedDripstoneBlock;place(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/enums/Thickness;)V
intermediary method_36370
Lnet/minecraft/class_5689;method_36370(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_5691;)V
official a
Ldks;a(Ldca;Liz;Lje;Ldta;)V
-
growMerged
- Mappings:
Namespace Name Mixin selector named growMerged
Lnet/minecraft/block/PointedDripstoneBlock;growMerged(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_36376
Lnet/minecraft/class_5689;method_36376(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
official a
Ldks;a(Ldsd;Ldca;Liz;)V
-
createParticle
- Mappings:
Namespace Name Mixin selector named createParticle
Lnet/minecraft/block/PointedDripstoneBlock;createParticle(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
intermediary method_32899
Lnet/minecraft/class_5689;method_32899(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
official a
Ldks;a(Ldbz;Liz;Ldsd;)V
-
createParticle
- Mappings:
Namespace Name Mixin selector named createParticle
Lnet/minecraft/block/PointedDripstoneBlock;createParticle(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)V
intermediary method_32768
Lnet/minecraft/class_5689;method_32768(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)V
official a
Ldks;a(Ldbz;Liz;Ldsd;Lenv;)V
-
getTipPos
@Nullable private static @Nullable BlockPos getTipPos(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) - Mappings:
Namespace Name Mixin selector named getTipPos
Lnet/minecraft/block/PointedDripstoneBlock;getTipPos(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
intermediary method_32782
Lnet/minecraft/class_5689;method_32782(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
official a
Ldks;a(Ldsd;Ldca;Liz;IZ)Liz;
-
getDirectionToPlaceAt
@Nullable private static @Nullable Direction getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector named getDirectionToPlaceAt
Lnet/minecraft/block/PointedDripstoneBlock;getDirectionToPlaceAt(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
intermediary method_32777
Lnet/minecraft/class_5689;method_32777(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350;
official b
Ldks;b(Ldcc;Liz;Lje;)Lje;
-
getThickness
private static Thickness getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) - Mappings:
Namespace Name Mixin selector named getThickness
Lnet/minecraft/block/PointedDripstoneBlock;getThickness(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Z)Lnet/minecraft/block/enums/Thickness;
intermediary method_32770
Lnet/minecraft/class_5689;method_32770(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Z)Lnet/minecraft/class_5691;
official a
Ldks;a(Ldcc;Liz;Lje;Z)Ldta;
-
canDrip
- Mappings:
Namespace Name Mixin selector named canDrip
Lnet/minecraft/block/PointedDripstoneBlock;canDrip(Lnet/minecraft/block/BlockState;)Z
intermediary method_32783
Lnet/minecraft/class_5689;method_32783(Lnet/minecraft/class_2680;)Z
official m
Ldks;m(Ldsd;)Z
-
canGrow
- Mappings:
Namespace Name Mixin selector named canGrow
Lnet/minecraft/block/PointedDripstoneBlock;canGrow(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_36374
Lnet/minecraft/class_5689;method_36374(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
official b
Ldks;b(Ldsd;Larf;Liz;)Z
-
getSupportingPos
private static Optional<BlockPos> getSupportingPos(World world, BlockPos pos, BlockState state, int range) - Mappings:
Namespace Name Mixin selector named getSupportingPos
Lnet/minecraft/block/PointedDripstoneBlock;getSupportingPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Ljava/util/Optional;
intermediary method_32776
Lnet/minecraft/class_5689;method_32776(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Ljava/util/Optional;
official a
Ldks;a(Ldbz;Liz;Ldsd;I)Ljava/util/Optional;
-
canPlaceAtWithDirection
- Mappings:
Namespace Name Mixin selector named canPlaceAtWithDirection
Lnet/minecraft/block/PointedDripstoneBlock;canPlaceAtWithDirection(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
intermediary method_32781
Lnet/minecraft/class_5689;method_32781(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
official c
Ldks;c(Ldcc;Liz;Lje;)Z
-
isTip
- Mappings:
Namespace Name Mixin selector named isTip
Lnet/minecraft/block/PointedDripstoneBlock;isTip(Lnet/minecraft/block/BlockState;Z)Z
intermediary method_32784
Lnet/minecraft/class_5689;method_32784(Lnet/minecraft/class_2680;Z)Z
official a
Ldks;a(Ldsd;Z)Z
-
isTip
- Mappings:
Namespace Name Mixin selector named isTip
Lnet/minecraft/block/PointedDripstoneBlock;isTip(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
intermediary method_36372
Lnet/minecraft/class_5689;method_36372(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
official a
Ldks;a(Ldsd;Lje;)Z
-
isPointingDown
- Mappings:
Namespace Name Mixin selector named isPointingDown
Lnet/minecraft/block/PointedDripstoneBlock;isPointingDown(Lnet/minecraft/block/BlockState;)Z
intermediary method_32785
Lnet/minecraft/class_5689;method_32785(Lnet/minecraft/class_2680;)Z
official n
Ldks;n(Ldsd;)Z
-
isPointingUp
- Mappings:
Namespace Name Mixin selector named isPointingUp
Lnet/minecraft/block/PointedDripstoneBlock;isPointingUp(Lnet/minecraft/block/BlockState;)Z
intermediary method_35283
Lnet/minecraft/class_5689;method_35283(Lnet/minecraft/class_2680;)Z
official o
Ldks;o(Ldsd;)Z
-
isHeldByPointedDripstone
- Mappings:
Namespace Name Mixin selector named isHeldByPointedDripstone
Lnet/minecraft/block/PointedDripstoneBlock;isHeldByPointedDripstone(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_32778
Lnet/minecraft/class_5689;method_32778(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
official b
Ldks;b(Ldsd;Ldcc;Liz;)Z
-
isPointedDripstoneFacingDirection
- Mappings:
Namespace Name Mixin selector named isPointedDripstoneFacingDirection
Lnet/minecraft/block/PointedDripstoneBlock;isPointedDripstoneFacingDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
intermediary method_32774
Lnet/minecraft/class_5689;method_32774(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
official b
Ldks;b(Ldsd;Lje;)Z
-
getCauldronPos
- Mappings:
Namespace Name Mixin selector named getCauldronPos
Lnet/minecraft/block/PointedDripstoneBlock;getCauldronPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)Lnet/minecraft/util/math/BlockPos;
intermediary method_32769
Lnet/minecraft/class_5689;method_32769(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)Lnet/minecraft/class_2338;
official a
Ldks;a(Ldbz;Liz;Lenv;)Liz;
-
getDripPos
- Mappings:
Namespace Name Mixin selector named getDripPos
Lnet/minecraft/block/PointedDripstoneBlock;getDripPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
intermediary method_32767
Lnet/minecraft/class_5689;method_32767(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
official a
Ldks;a(Ldbz;Liz;)Liz;
-
getDripFluid
- Mappings:
Namespace Name Mixin selector named getDripFluid
Lnet/minecraft/block/PointedDripstoneBlock;getDripFluid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/Fluid;
intermediary method_32775
Lnet/minecraft/class_5689;method_32775(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3611;
official a
Ldks;a(Larf;Liz;)Lenv;
-
getFluid
private static Optional<PointedDripstoneBlock.DrippingFluid> getFluid(World world, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector named getFluid
Lnet/minecraft/block/PointedDripstoneBlock;getFluid(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Ljava/util/Optional;
intermediary method_33276
Lnet/minecraft/class_5689;method_33276(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Ljava/util/Optional;
official b
Ldks;b(Ldbz;Liz;Ldsd;)Ljava/util/Optional;
-
isFluidLiquid
Returns whether the providedfluid
is liquid, namely lava or water.- Returns:
- whether the provided
fluid
is liquid, namely lava or water - Mappings:
Namespace Name Mixin selector named isFluidLiquid
Lnet/minecraft/block/PointedDripstoneBlock;isFluidLiquid(Lnet/minecraft/fluid/Fluid;)Z
intermediary method_33273
Lnet/minecraft/class_5689;method_33273(Lnet/minecraft/class_3611;)Z
official a
Ldks;a(Lenv;)Z
-
canGrow
- Mappings:
Namespace Name Mixin selector named canGrow
Lnet/minecraft/block/PointedDripstoneBlock;canGrow(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Z
intermediary method_36371
Lnet/minecraft/class_5689;method_36371(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Z
official a
Ldks;a(Ldsd;Ldsd;)Z
-
getDripFluid
- Mappings:
Namespace Name Mixin selector named getDripFluid
Lnet/minecraft/block/PointedDripstoneBlock;getDripFluid(Lnet/minecraft/world/World;Lnet/minecraft/fluid/Fluid;)Lnet/minecraft/fluid/Fluid;
intermediary method_33271
Lnet/minecraft/class_5689;method_33271(Lnet/minecraft/class_1937;Lnet/minecraft/class_3611;)Lnet/minecraft/class_3611;
official a
Ldks;a(Ldbz;Lenv;)Lenv;
-
searchInDirection
private static Optional<BlockPos> searchInDirection(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) - Mappings:
Namespace Name Mixin selector named searchInDirection
Lnet/minecraft/block/PointedDripstoneBlock;searchInDirection(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction$AxisDirection;Ljava/util/function/BiPredicate;Ljava/util/function/Predicate;I)Ljava/util/Optional;
intermediary method_33272
Lnet/minecraft/class_5689;method_33272(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350$class_2352;Ljava/util/function/BiPredicate;Ljava/util/function/Predicate;I)Ljava/util/Optional;
official a
Ldks;a(Ldca;Liz;Lje$b;Ljava/util/function/BiPredicate;Ljava/util/function/Predicate;I)Ljava/util/Optional;
-
canDripThrough
Returns whether it can drip through the blockblock
atpos
.- Returns:
- whether it can drip through the block
block
atpos
- API Note:
- This is used for checking which block can obstruct the stalagmites growing or the cauldrons filling with liquids.
- Mappings:
Namespace Name Mixin selector named canDripThrough
Lnet/minecraft/block/PointedDripstoneBlock;canDripThrough(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
intermediary method_40016
Lnet/minecraft/class_5689;method_40016(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
official a
Ldks;a(Ldbf;Liz;Ldsd;)Z
-