Class PointedDripstoneBlock
- All Implemented Interfaces:
FluidDrainable,FluidFillable,LandingBlock,Waterloggable,ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name official dlaintermediary net/minecraft/class_5689named net/minecraft/block/PointedDripstoneBlock
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final recordNested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final VoxelShapestatic final com.mojang.serialization.MapCodec<PointedDripstoneBlock> private static final VoxelShapeprivate static final VoxelShapeprivate static final intprivate static final floatprivate static final intprivate static final floatprivate static final floatprivate static final intprivate static final intprivate static final floatprivate static final floatprivate static final intprivate static final doubleprivate static final floatprivate static final intprivate static final floatprivate static final floatprivate final booleanprivate static final VoxelShapeprivate static final floatprivate static final intprivate static final VoxelShapeprivate static final intstatic final EnumProperty<Thickness> private static final VoxelShapeprivate static final VoxelShapestatic final DirectionPropertyprivate static final floatstatic final BooleanPropertyFields 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, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.booleancanDrip(BlockState blockState) private static booleancanDripThrough(BlockView world, BlockPos pos, BlockState state) Returns whether it can drip through the blockblockatpos.private booleancanGrow(BlockState blockState, BlockState blockState2) private booleancanGrow(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos) protected booleancanPathfindThrough(BlockState state, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.protected booleancanPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.private booleancanPlaceAtWithDirection(WorldView worldView, BlockPos blockPos, Direction direction) static voidcreateParticle(World world, BlockPos blockPos, BlockState blockState) private static voidcreateParticle(World world, BlockPos pos, BlockState state, Fluid fluid) voiddripTick(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, float float2) getCauldronPos(World world, BlockPos pos, Fluid fluid) com.mojang.serialization.MapCodec<PointedDripstoneBlock> getCodec()protected VoxelShapegetCullingShape(BlockState state, BlockView world, BlockPos pos) getDamageSource(Entity attacker) getDirectionToPlaceAt(WorldView worldView, BlockPos blockPos, Direction direction) getDripFluid(ServerWorld serverWorld, BlockPos blockPos) private static FluidgetDripFluid(World world, Fluid fluid) getDripPos(Block block, World world, BlockPos blockPos) getFluid(World world, BlockPos blockPos, BlockState blockState) protected FluidStategetFluidState(BlockState state) Returns the state's associated fluid state.protected floatprotected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected BlockStategetStateForNeighborUpdate(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 blockPos, BlockState blockState, int int2) private ThicknessgetThickness(WorldView worldView, BlockPos blockPos, Direction direction, boolean bool) getTipPos(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, int int2, boolean bool) private voidgrowMerged(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos) private static booleanisFluidLiquid(Fluid fluid) Returns whether the providedfluidis liquid, namely lava or water.private booleanisHeldByPointedDripstone(BlockState blockState, WorldView worldView, BlockPos blockPos) private booleanisPointedDripstoneFacingDirection(BlockState blockState, Direction direction) private booleanisPointingDown(BlockState blockState) private booleanisPointingUp(BlockState blockState) protected booleanisShapeFullCube(BlockState state, BlockView world, BlockPos pos) private booleanisTip(BlockState blockState, boolean bool) private booleanisTip(BlockState blockState, Direction direction) voidmethod_59129(ServerWorld serverWorld, BlockPos blockPos) voidmethod_59132(ServerWorld serverWorld, BlockPos blockPos) booleanmethod_59134(BlockState blockState) voidonDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidonLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.protected voidonProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.private voidplace(WorldAccess worldAccess, BlockPos blockPos, Direction direction, Thickness thickness) voidrandomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.protected voidrandomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidscheduledTick(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 voidspawnFallingBlock(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos) voidtryGrow(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random) private voidtryGrow(ServerWorld serverWorld, BlockPos blockPos, Direction direction) private voidtryGrowStalagmite(ServerWorld serverWorld, BlockPos blockPos) 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, method_59110, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, 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, rotateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.LandingBlock
onLandingMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabledMethods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLdla;a:Lcom/mojang/serialization/MapCodec;intermediary field_46413Lnet/minecraft/class_5689;field_46413:Lcom/mojang/serialization/MapCodec;named CODECLnet/minecraft/block/PointedDripstoneBlock;CODEC:Lcom/mojang/serialization/MapCodec;
-
VERTICAL_DIRECTION
- Mappings:
Namespace Name Mixin selector official bLdla;b:Ldtw;intermediary field_28050Lnet/minecraft/class_5689;field_28050:Lnet/minecraft/class_2753;named VERTICAL_DIRECTIONLnet/minecraft/block/PointedDripstoneBlock;VERTICAL_DIRECTION:Lnet/minecraft/state/property/DirectionProperty;
-
THICKNESS
- Mappings:
Namespace Name Mixin selector official cLdla;c:Ldua;intermediary field_28051Lnet/minecraft/class_5689;field_28051:Lnet/minecraft/class_2754;named THICKNESSLnet/minecraft/block/PointedDripstoneBlock;THICKNESS:Lnet/minecraft/state/property/EnumProperty;
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector official dLdla;d:Ldtt;intermediary field_28052Lnet/minecraft/class_5689;field_28052:Lnet/minecraft/class_2746;named WATERLOGGEDLnet/minecraft/block/PointedDripstoneBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
field_31205
private static final int field_31205- See Also:
- Mappings:
Namespace Name Mixin selector official eLdla;e:Iintermediary field_31205Lnet/minecraft/class_5689;field_31205:Inamed field_31205Lnet/minecraft/block/PointedDripstoneBlock;field_31205:I
-
field_31207
private static final int field_31207- See Also:
- Mappings:
Namespace Name Mixin selector official fLdla;f:Iintermediary field_31207Lnet/minecraft/class_5689;field_31207:Inamed field_31207Lnet/minecraft/block/PointedDripstoneBlock;field_31207:I
-
field_31208
private static final float field_31208- See Also:
- Mappings:
Namespace Name Mixin selector official gLdla;g:Fintermediary field_31208Lnet/minecraft/class_5689;field_31208:Fnamed field_31208Lnet/minecraft/block/PointedDripstoneBlock;field_31208:F
-
field_31209
private static final float field_31209- See Also:
- Mappings:
Namespace Name Mixin selector official hLdla;h:Fintermediary field_31209Lnet/minecraft/class_5689;field_31209:Fnamed field_31209Lnet/minecraft/block/PointedDripstoneBlock;field_31209:F
-
field_31210
private static final int field_31210- See Also:
- Mappings:
Namespace Name Mixin selector official iLdla;i:Iintermediary field_31210Lnet/minecraft/class_5689;field_31210:Inamed field_31210Lnet/minecraft/block/PointedDripstoneBlock;field_31210:I
-
WATER_DRIP_CHANCE
private static final float WATER_DRIP_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official jLdla;j:Fintermediary field_31211Lnet/minecraft/class_5689;field_31211:Fnamed WATER_DRIP_CHANCELnet/minecraft/block/PointedDripstoneBlock;WATER_DRIP_CHANCE:F
-
LAVA_DRIP_CHANCE
private static final float LAVA_DRIP_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official kLdla;k:Fintermediary field_31212Lnet/minecraft/class_5689;field_31212:Fnamed LAVA_DRIP_CHANCELnet/minecraft/block/PointedDripstoneBlock;LAVA_DRIP_CHANCE:F
-
field_31213
private static final double field_31213- See Also:
- Mappings:
Namespace Name Mixin selector official lLdla;l:Dintermediary field_31213Lnet/minecraft/class_5689;field_31213:Dnamed field_31213Lnet/minecraft/block/PointedDripstoneBlock;field_31213:D
-
field_31214
private static final float field_31214- See Also:
- Mappings:
Namespace Name Mixin selector official mLdla;m:Fintermediary field_31214Lnet/minecraft/class_5689;field_31214:Fnamed field_31214Lnet/minecraft/block/PointedDripstoneBlock;field_31214:F
-
field_31215
private static final int field_31215- See Also:
- Mappings:
Namespace Name Mixin selector official nLdla;n:Iintermediary field_31215Lnet/minecraft/class_5689;field_31215:Inamed field_31215Lnet/minecraft/block/PointedDripstoneBlock;field_31215:I
-
field_31200
private static final int field_31200- See Also:
- Mappings:
Namespace Name Mixin selector official oLdla;o:Iintermediary field_31200Lnet/minecraft/class_5689;field_31200:Inamed field_31200Lnet/minecraft/block/PointedDripstoneBlock;field_31200:I
-
field_31201
private static final float field_31201- See Also:
- Mappings:
Namespace Name Mixin selector official FLdla;F:Fintermediary field_31201Lnet/minecraft/class_5689;field_31201:Fnamed field_31201Lnet/minecraft/block/PointedDripstoneBlock;field_31201:F
-
field_31202
private static final int field_31202- See Also:
- Mappings:
Namespace Name Mixin selector official GLdla;G:Iintermediary field_31202Lnet/minecraft/class_5689;field_31202:Inamed field_31202Lnet/minecraft/block/PointedDripstoneBlock;field_31202:I
-
field_33566
private static final float field_33566- See Also:
- Mappings:
Namespace Name Mixin selector official HLdla;H:Fintermediary field_33566Lnet/minecraft/class_5689;field_33566:Fnamed field_33566Lnet/minecraft/block/PointedDripstoneBlock;field_33566:F
-
field_33567
private static final float field_33567- See Also:
- Mappings:
Namespace Name Mixin selector official ILdla;I:Fintermediary field_33567Lnet/minecraft/class_5689;field_33567:Fnamed field_33567Lnet/minecraft/block/PointedDripstoneBlock;field_33567:F
-
MAX_STALACTITE_GROWTH
private static final int MAX_STALACTITE_GROWTH- See Also:
- Mappings:
Namespace Name Mixin selector official JLdla;J:Iintermediary field_33568Lnet/minecraft/class_5689;field_33568:Inamed MAX_STALACTITE_GROWTHLnet/minecraft/block/PointedDripstoneBlock;MAX_STALACTITE_GROWTH:I
-
STALACTITE_FLOOR_SEARCH_RANGE
private static final int STALACTITE_FLOOR_SEARCH_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official KLdla;K:Iintermediary field_33569Lnet/minecraft/class_5689;field_33569:Inamed STALACTITE_FLOOR_SEARCH_RANGELnet/minecraft/block/PointedDripstoneBlock;STALACTITE_FLOOR_SEARCH_RANGE:I
-
field_31203
private static final float field_31203- See Also:
- Mappings:
Namespace Name Mixin selector official LLdla;L:Fintermediary field_31203Lnet/minecraft/class_5689;field_31203:Fnamed field_31203Lnet/minecraft/block/PointedDripstoneBlock;field_31203:F
-
TIP_MERGE_SHAPE
- Mappings:
Namespace Name Mixin selector official MLdla;M:Lexn;intermediary field_28053Lnet/minecraft/class_5689;field_28053:Lnet/minecraft/class_265;named TIP_MERGE_SHAPELnet/minecraft/block/PointedDripstoneBlock;TIP_MERGE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
UP_TIP_SHAPE
- Mappings:
Namespace Name Mixin selector official NLdla;N:Lexn;intermediary field_28054Lnet/minecraft/class_5689;field_28054:Lnet/minecraft/class_265;named UP_TIP_SHAPELnet/minecraft/block/PointedDripstoneBlock;UP_TIP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
DOWN_TIP_SHAPE
- Mappings:
Namespace Name Mixin selector official OLdla;O:Lexn;intermediary field_28055Lnet/minecraft/class_5689;field_28055:Lnet/minecraft/class_265;named DOWN_TIP_SHAPELnet/minecraft/block/PointedDripstoneBlock;DOWN_TIP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
BASE_SHAPE
- Mappings:
Namespace Name Mixin selector official PLdla;P:Lexn;intermediary field_28058Lnet/minecraft/class_5689;field_28058:Lnet/minecraft/class_265;named BASE_SHAPELnet/minecraft/block/PointedDripstoneBlock;BASE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
FRUSTUM_SHAPE
- Mappings:
Namespace Name Mixin selector official QLdla;Q:Lexn;intermediary field_28056Lnet/minecraft/class_5689;field_28056:Lnet/minecraft/class_265;named FRUSTUM_SHAPELnet/minecraft/block/PointedDripstoneBlock;FRUSTUM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
MIDDLE_SHAPE
- Mappings:
Namespace Name Mixin selector official RLdla;R:Lexn;intermediary field_28057Lnet/minecraft/class_5689;field_28057:Lnet/minecraft/class_265;named MIDDLE_SHAPELnet/minecraft/block/PointedDripstoneBlock;MIDDLE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_31204
private static final float field_31204- See Also:
- Mappings:
Namespace Name Mixin selector official SLdla;S:Fintermediary field_31204Lnet/minecraft/class_5689;field_31204:Fnamed field_31204Lnet/minecraft/block/PointedDripstoneBlock;field_31204:F
-
DRIP_COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector official TLdla;T:Lexn;intermediary field_36340Lnet/minecraft/class_5689;field_36340:Lnet/minecraft/class_265;named DRIP_COLLISION_SHAPELnet/minecraft/block/PointedDripstoneBlock;DRIP_COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_50858
private final boolean field_50858- Mappings:
Namespace Name Mixin selector official ULdla;U:Zintermediary field_50858Lnet/minecraft/class_5689;field_50858:Znamed field_50858Lnet/minecraft/block/PointedDripstoneBlock;field_50858:Z
-
-
Constructor Details
-
PointedDripstoneBlock
-
-
Method Details
-
method_59134
- Mappings:
Namespace Name Mixin selector official mLdla;m(Ldtc;)Zintermediary method_59134Lnet/minecraft/class_5689;method_59134(Lnet/minecraft/class_2680;)Znamed method_59134Lnet/minecraft/block/PointedDripstoneBlock;method_59134(Lnet/minecraft/block/BlockState;)Z
-
getCodec
- Overrides:
getCodecin classBlock- Mappings:
Namespace Name Mixin selector official aLdtb;a()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;named getCodecLnet/minecraft/block/AbstractBlock;getCodec()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. SeePropertiesfor the list of pre-defined properties.- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLdfc;a(Ldtd$a;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)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
AbstractBlock.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:
canPlaceAtin classAbstractBlock- Returns:
- whether the block can be placed at
pos - See Also:
- Mappings:
Namespace Name Mixin selector official aLdtb;a(Ldtc;Ldcd;Lir;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed canPlaceAtLnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
method_59133
- Mappings:
Namespace Name Mixin selector official cLdla;c()Ldfc;intermediary method_59133Lnet/minecraft/class_5689;method_59133()Lnet/minecraft/class_2248;named method_59133Lnet/minecraft/block/PointedDripstoneBlock;method_59133()Lnet/minecraft/block/Block;
-
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.AIRbreaks the block. This is useful to implement supporting block requirement for blocks (if used along withAbstractBlock.canPlaceAt(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_STATEflag is set in thesetBlockStatecall.This method can be used for multiple purposes. Here are some examples:
FenceBlockuses it to update the fence's connection when a horizontally neighboring block's state is changed.PlantBlockuses it to break the plant if the state change causes it to lose its supporting block.DoorBlockuses it to copy the state of the other half of the door.SlabBlockuses it to schedule the fluid to tick if waterlogged.SoulSandBlockuses it to schedule the water block above to tick so that it becomes a bubble column.FallingBlockuses it to schedule the block to tick so that it can fall if needed.
- Overrides:
getStateForNeighborUpdatein 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 official aLdtb;a(Ldtc;Liw;Ldtc;Ldcb;Lir;Lir;)Ldtc;intermediary method_9559Lnet/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;named getStateForNeighborUpdateLnet/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;
-
onProjectileHit
protected void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits 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:
TargetBlockactivates.BellBlockrings.LightningRodBlockspawns a lightning.AbstractCandleBlocklights on fire when hit by a projectile on fire.
- Overrides:
onProjectileHitin classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector official aLdtb;a(Ldca;Ldtc;Lewq;Lcms;)Vintermediary method_19286Lnet/minecraft/class_4970;method_19286(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_3965;Lnet/minecraft/class_1676;)Vnamed onProjectileHitLnet/minecraft/block/AbstractBlock;onProjectileHit(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/entity/projectile/ProjectileEntity;)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.FarmlandBlockoverrides 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:
onLandedUponin classBlock- Mappings:
Namespace Name Mixin selector official aLdfc;a(Ldca;Ldtc;Lir;Lbrv;F)Vintermediary method_9554Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)Vnamed onLandedUponLnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;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:
randomDisplayTickin classBlock- Mappings:
Namespace Name Mixin selector official aLdfc;a(Ldtc;Ldca;Lir;Layt;)Vintermediary method_9496Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Vnamed randomDisplayTickLnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)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
AbstractBlock.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:
SugarCaneBlockchecks the placement requirement.DispenserBlockdispenses its content.CommandBlockexecutes its command.FrogspawnBlockspawns a tadpole.SoulSandBlockupdates a bubble column.FallingBlocktries to fall.
- Overrides:
scheduledTickin classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector official aLdtb;a(Ldtc;Laqt;Lir;Layt;)Vintermediary method_9588Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Vnamed scheduledTickLnet/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
-
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
randomTickSpeedand 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:
SugarCaneBlockuses this to grow sugar cane.OxidizableBlockuses this to oxidize.NetherPortalBlockuses this to spawn zombified piglins.LeavesBlockuses this to decay when far from logs.
- Overrides:
randomTickin classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector official bLdtb;b(Ldtc;Laqt;Lir;Layt;)Vintermediary method_9514Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Vnamed randomTickLnet/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
-
dripTick
public void dripTick(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, float float2) - Mappings:
Namespace Name Mixin selector official aLdla;a(Ldtc;Laqt;Lir;F)Vintermediary method_32772Lnet/minecraft/class_5689;method_32772(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;F)Vnamed dripTickLnet/minecraft/block/PointedDripstoneBlock;dripTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;F)V
-
getPlacementState
- Overrides:
getPlacementStatein classBlock- Mappings:
Namespace Name Mixin selector official aLdfc;a(Lcyd;)Ldtc;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getFluidState
Returns the state's associated fluid state.Waterloggable blocks must override this to return
Fluids.WATER.getStill(false)when waterlogged.- Overrides:
getFluidStatein classAbstractBlock- Returns:
- the state's associated fluid state
- See Also:
- Mappings:
Namespace Name Mixin selector official b_Ldtb;b_(Ldtc;)Lepe;intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
getCullingShape
- Overrides:
getCullingShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector official gLdtb;g(Ldtc;Ldbg;Lir;)Lexn;intermediary method_9571Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getCullingShapeLnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector official aLdtb;a(Ldtc;Ldbg;Lir;Lewz;)Lexn;intermediary method_9530Lnet/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;named getOutlineShapeLnet/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;
-
isShapeFullCube
- Overrides:
isShapeFullCubein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector official cLdtb;c(Ldtc;Ldbg;Lir;)Zintermediary method_37403Lnet/minecraft/class_4970;method_37403(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed isShapeFullCubeLnet/minecraft/block/AbstractBlock;isShapeFullCube(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
getMaxHorizontalModelOffset
protected float getMaxHorizontalModelOffset()- Overrides:
getMaxHorizontalModelOffsetin classAbstractBlock- Mappings:
Namespace Name Mixin selector official at_Ldtb;at_()Fintermediary method_32913Lnet/minecraft/class_4970;method_32913()Fnamed getMaxHorizontalModelOffsetLnet/minecraft/block/AbstractBlock;getMaxHorizontalModelOffset()F
-
onDestroyedOnLanding
- Specified by:
onDestroyedOnLandingin interfaceLandingBlock- Mappings:
Namespace Name Mixin selector official aLdia;a(Ldca;Lir;Lcif;)Vintermediary method_10129Lnet/minecraft/class_5688;method_10129(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1540;)Vnamed onDestroyedOnLandingLnet/minecraft/block/LandingBlock;onDestroyedOnLanding(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/FallingBlockEntity;)V
-
getDamageSource
- Specified by:
getDamageSourcein interfaceLandingBlock- Mappings:
Namespace Name Mixin selector official aLdia;a(Lbrv;)Lbqt;intermediary method_32898Lnet/minecraft/class_5688;method_32898(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;named getDamageSourceLnet/minecraft/block/LandingBlock;getDamageSource(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
-
spawnFallingBlock
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldtc;Laqt;Lir;)Vintermediary method_32771Lnet/minecraft/class_5689;method_32771(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vnamed spawnFallingBlockLnet/minecraft/block/PointedDripstoneBlock;spawnFallingBlock(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
tryGrow
public void tryGrow(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random) - Mappings:
Namespace Name Mixin selector official cLdla;c(Ldtc;Laqt;Lir;Layt;)Vintermediary method_36375Lnet/minecraft/class_5689;method_36375(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Vnamed tryGrowLnet/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
-
method_59129
- Mappings:
Namespace Name Mixin selector official aLdla;a(Laqt;Lir;)Vintermediary method_59129Lnet/minecraft/class_5689;method_59129(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vnamed method_59129Lnet/minecraft/block/PointedDripstoneBlock;method_59129(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
method_59132
- Mappings:
Namespace Name Mixin selector official bLdla;b(Laqt;Lir;)Vintermediary method_59132Lnet/minecraft/class_5689;method_59132(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vnamed method_59132Lnet/minecraft/block/PointedDripstoneBlock;method_59132(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
tryGrowStalagmite
- Mappings:
Namespace Name Mixin selector official dLdla;d(Laqt;Lir;)Vintermediary method_36368Lnet/minecraft/class_5689;method_36368(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vnamed tryGrowStalagmiteLnet/minecraft/block/PointedDripstoneBlock;tryGrowStalagmite(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
tryGrow
- Mappings:
Namespace Name Mixin selector official aLdla;a(Laqt;Lir;Liw;)Vintermediary method_36369Lnet/minecraft/class_5689;method_36369(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Vnamed tryGrowLnet/minecraft/block/PointedDripstoneBlock;tryGrow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
-
place
private void place(WorldAccess worldAccess, BlockPos blockPos, Direction direction, Thickness thickness) - Mappings:
Namespace Name Mixin selector official aLdla;a(Ldcb;Lir;Liw;Ldtz;)Vintermediary method_36370Lnet/minecraft/class_5689;method_36370(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_5691;)Vnamed placeLnet/minecraft/block/PointedDripstoneBlock;place(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/enums/Thickness;)V
-
growMerged
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldtc;Ldcb;Lir;)Vintermediary method_36376Lnet/minecraft/class_5689;method_36376(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Vnamed growMergedLnet/minecraft/block/PointedDripstoneBlock;growMerged(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
createParticle
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldca;Lir;Ldtc;)Vintermediary method_32899Lnet/minecraft/class_5689;method_32899(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed createParticleLnet/minecraft/block/PointedDripstoneBlock;createParticle(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
createParticle
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldca;Lir;Ldtc;Lepd;)Vintermediary method_32768Lnet/minecraft/class_5689;method_32768(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)Vnamed createParticleLnet/minecraft/block/PointedDripstoneBlock;createParticle(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)V
-
getTipPos
@Nullable private @Nullable BlockPos getTipPos(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, int int2, boolean bool) - Mappings:
Namespace Name Mixin selector official aLdla;a(Ldtc;Ldcb;Lir;IZ)Lir;intermediary method_32782Lnet/minecraft/class_5689;method_32782(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;named getTipPosLnet/minecraft/block/PointedDripstoneBlock;getTipPos(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
-
getDirectionToPlaceAt
@Nullable private @Nullable Direction getDirectionToPlaceAt(WorldView worldView, BlockPos blockPos, Direction direction) - Mappings:
Namespace Name Mixin selector official bLdla;b(Ldcd;Lir;Liw;)Liw;intermediary method_32777Lnet/minecraft/class_5689;method_32777(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350;named getDirectionToPlaceAtLnet/minecraft/block/PointedDripstoneBlock;getDirectionToPlaceAt(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
-
getThickness
private Thickness getThickness(WorldView worldView, BlockPos blockPos, Direction direction, boolean bool) - Mappings:
Namespace Name Mixin selector official aLdla;a(Ldcd;Lir;Liw;Z)Ldtz;intermediary method_32770Lnet/minecraft/class_5689;method_32770(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Z)Lnet/minecraft/class_5691;named getThicknessLnet/minecraft/block/PointedDripstoneBlock;getThickness(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Z)Lnet/minecraft/block/enums/Thickness;
-
canDrip
- Mappings:
Namespace Name Mixin selector official nLdla;n(Ldtc;)Zintermediary method_32783Lnet/minecraft/class_5689;method_32783(Lnet/minecraft/class_2680;)Znamed canDripLnet/minecraft/block/PointedDripstoneBlock;canDrip(Lnet/minecraft/block/BlockState;)Z
-
canGrow
- Mappings:
Namespace Name Mixin selector official bLdla;b(Ldtc;Laqt;Lir;)Zintermediary method_36374Lnet/minecraft/class_5689;method_36374(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Znamed canGrowLnet/minecraft/block/PointedDripstoneBlock;canGrow(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
-
getSupportingPos
private Optional<BlockPos> getSupportingPos(World world, BlockPos blockPos, BlockState blockState, int int2) - Mappings:
Namespace Name Mixin selector official aLdla;a(Ldca;Lir;Ldtc;I)Ljava/util/Optional;intermediary method_32776Lnet/minecraft/class_5689;method_32776(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Ljava/util/Optional;named getSupportingPosLnet/minecraft/block/PointedDripstoneBlock;getSupportingPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Ljava/util/Optional;
-
canPlaceAtWithDirection
private boolean canPlaceAtWithDirection(WorldView worldView, BlockPos blockPos, Direction direction) - Mappings:
Namespace Name Mixin selector official cLdla;c(Ldcd;Lir;Liw;)Zintermediary method_32781Lnet/minecraft/class_5689;method_32781(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed canPlaceAtWithDirectionLnet/minecraft/block/PointedDripstoneBlock;canPlaceAtWithDirection(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
isTip
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldtc;Z)Zintermediary method_32784Lnet/minecraft/class_5689;method_32784(Lnet/minecraft/class_2680;Z)Znamed isTipLnet/minecraft/block/PointedDripstoneBlock;isTip(Lnet/minecraft/block/BlockState;Z)Z
-
isTip
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldtc;Liw;)Zintermediary method_36372Lnet/minecraft/class_5689;method_36372(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed isTipLnet/minecraft/block/PointedDripstoneBlock;isTip(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
isPointingDown
- Mappings:
Namespace Name Mixin selector official oLdla;o(Ldtc;)Zintermediary method_32785Lnet/minecraft/class_5689;method_32785(Lnet/minecraft/class_2680;)Znamed isPointingDownLnet/minecraft/block/PointedDripstoneBlock;isPointingDown(Lnet/minecraft/block/BlockState;)Z
-
isPointingUp
- Mappings:
Namespace Name Mixin selector official pLdla;p(Ldtc;)Zintermediary method_35283Lnet/minecraft/class_5689;method_35283(Lnet/minecraft/class_2680;)Znamed isPointingUpLnet/minecraft/block/PointedDripstoneBlock;isPointingUp(Lnet/minecraft/block/BlockState;)Z
-
isHeldByPointedDripstone
private boolean isHeldByPointedDripstone(BlockState blockState, WorldView worldView, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector official bLdla;b(Ldtc;Ldcd;Lir;)Zintermediary method_32778Lnet/minecraft/class_5689;method_32778(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed isHeldByPointedDripstoneLnet/minecraft/block/PointedDripstoneBlock;isHeldByPointedDripstone(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
isPointedDripstoneFacingDirection
- Mappings:
Namespace Name Mixin selector official bLdla;b(Ldtc;Liw;)Zintermediary method_32774Lnet/minecraft/class_5689;method_32774(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed isPointedDripstoneFacingDirectionLnet/minecraft/block/PointedDripstoneBlock;isPointedDripstoneFacingDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
getCauldronPos
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldca;Lir;Lepd;)Lir;intermediary method_32769Lnet/minecraft/class_5689;method_32769(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)Lnet/minecraft/class_2338;named getCauldronPosLnet/minecraft/block/PointedDripstoneBlock;getCauldronPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)Lnet/minecraft/util/math/BlockPos;
-
getDripPos
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldfc;Ldca;Lir;)Lir;intermediary method_32767Lnet/minecraft/class_5689;method_32767(Lnet/minecraft/class_2248;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;named getDripPosLnet/minecraft/block/PointedDripstoneBlock;getDripPos(Lnet/minecraft/block/Block;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
getDripFluid
- Mappings:
Namespace Name Mixin selector official cLdla;c(Laqt;Lir;)Lepd;intermediary method_32775Lnet/minecraft/class_5689;method_32775(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3611;named getDripFluidLnet/minecraft/block/PointedDripstoneBlock;getDripFluid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/Fluid;
-
getFluid
private Optional<PointedDripstoneBlock.DrippingFluid> getFluid(World world, BlockPos blockPos, BlockState blockState) - Mappings:
Namespace Name Mixin selector official bLdla;b(Ldca;Lir;Ldtc;)Ljava/util/Optional;intermediary method_33276Lnet/minecraft/class_5689;method_33276(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Ljava/util/Optional;named getFluidLnet/minecraft/block/PointedDripstoneBlock;getFluid(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Ljava/util/Optional;
-
isFluidLiquid
Returns whether the providedfluidis liquid, namely lava or water.- Returns:
- whether the provided
fluidis liquid, namely lava or water - Mappings:
Namespace Name Mixin selector official aLdla;a(Lepd;)Zintermediary method_33273Lnet/minecraft/class_5689;method_33273(Lnet/minecraft/class_3611;)Znamed isFluidLiquidLnet/minecraft/block/PointedDripstoneBlock;isFluidLiquid(Lnet/minecraft/fluid/Fluid;)Z
-
canGrow
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldtc;Ldtc;)Zintermediary method_36371Lnet/minecraft/class_5689;method_36371(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Znamed canGrowLnet/minecraft/block/PointedDripstoneBlock;canGrow(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Z
-
getDripFluid
- Mappings:
Namespace Name Mixin selector official aLdla;a(Ldca;Lepd;)Lepd;intermediary method_33271Lnet/minecraft/class_5689;method_33271(Lnet/minecraft/class_1937;Lnet/minecraft/class_3611;)Lnet/minecraft/class_3611;named getDripFluidLnet/minecraft/block/PointedDripstoneBlock;getDripFluid(Lnet/minecraft/world/World;Lnet/minecraft/fluid/Fluid;)Lnet/minecraft/fluid/Fluid;
-
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 official aLdla;a(Ldcb;Lir;Liw$b;Ljava/util/function/BiPredicate;Ljava/util/function/Predicate;I)Ljava/util/Optional;intermediary method_33272Lnet/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;named searchInDirectionLnet/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;
-
canDripThrough
Returns whether it can drip through the blockblockatpos.- Returns:
- whether it can drip through the block
blockatpos - 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 official aLdla;a(Ldbg;Lir;Ldtc;)Zintermediary method_40016Lnet/minecraft/class_5689;method_40016(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed canDripThroughLnet/minecraft/block/PointedDripstoneBlock;canDripThrough(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-