Class FluidBlock
- All Implemented Interfaces:
- FluidDrainable,- ItemConvertible,- ToggleableFeature
- Mappings:
- Namespace - Name - official - dbf- intermediary - net/minecraft/class_2404- named - net/minecraft/block/FluidBlock
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.BlockBlock.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<FluidBlock>static final VoxelShapestatic final ImmutableList<Direction>protected final FlowableFluidprivate static final com.mojang.serialization.Codec<FlowableFluid>static final IntPropertyprivate final List<FluidState>Fields inherited from class net.minecraft.block.Blockfield_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.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedFluidBlock(FlowableFluid fluid, AbstractBlock.Settings settings) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.booleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.Returns the sound played when filling a bucket with the fluid contained in this block.com.mojang.serialization.MapCodec<FluidBlock>getCodec()getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getDroppedStacks(BlockState state, LootContextParameterSet.Builder builder) Returns the block's dropped item stacks.getFluidState(BlockState state) Returns the state's associated fluid state.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getRenderType(BlockState state) Returns the block's render type (invisible, animated, model).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.booleanhasRandomTicks(BlockState state) booleanisSideInvisible(BlockState state, BlockState stateFrom, Direction direction) booleanisTransparent(BlockState state, BlockView world, BlockPos pos) voidneighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidonBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.private voidplayExtinguishSound(WorldAccess world, BlockPos pos) voidrandomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.private booleanreceiveNeighborFluids(World world, BlockPos pos, BlockState state) tryDrainFluid(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) Methods inherited from class net.minecraft.block.BlockafterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRequiredFeatures, getSettings, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, mirror, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, rotate, scheduledTickMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
FLUID_CODEC- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldbf;f:Lcom/mojang/serialization/Codec;- intermediary - field_46391- Lnet/minecraft/class_2404;field_46391:Lcom/mojang/serialization/Codec;- named - FLUID_CODEC- Lnet/minecraft/block/FluidBlock;FLUID_CODEC:Lcom/mojang/serialization/Codec;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldbf;a:Lcom/mojang/serialization/MapCodec;- intermediary - field_46390- Lnet/minecraft/class_2404;field_46390:Lcom/mojang/serialization/MapCodec;- named - CODEC- Lnet/minecraft/block/FluidBlock;CODEC:Lcom/mojang/serialization/MapCodec;
 
- 
LEVEL- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldbf;b:Ldkh;- intermediary - field_11278- Lnet/minecraft/class_2404;field_11278:Lnet/minecraft/class_2758;- named - LEVEL- Lnet/minecraft/block/FluidBlock;LEVEL:Lnet/minecraft/state/property/IntProperty;
 
- 
COLLISION_SHAPE- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldbf;d:Lemm;- intermediary - field_24412- Lnet/minecraft/class_2404;field_24412:Lnet/minecraft/class_265;- named - COLLISION_SHAPE- Lnet/minecraft/block/FluidBlock;COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
 
- 
FLOW_DIRECTIONS- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldbf;e:Lcom/google/common/collect/ImmutableList;- intermediary - field_34006- Lnet/minecraft/class_2404;field_34006:Lcom/google/common/collect/ImmutableList;- named - FLOW_DIRECTIONS- Lnet/minecraft/block/FluidBlock;FLOW_DIRECTIONS:Lcom/google/common/collect/ImmutableList;
 
- 
fluid- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldbf;c:Leep;- intermediary - field_11279- Lnet/minecraft/class_2404;field_11279:Lnet/minecraft/class_3609;- named - fluid- Lnet/minecraft/block/FluidBlock;fluid:Lnet/minecraft/fluid/FlowableFluid;
 
- 
statesByLevel- Mappings:
- Namespace - Name - Mixin selector - official - g- Ldbf;g:Ljava/util/List;- intermediary - field_11276- Lnet/minecraft/class_2404;field_11276:Ljava/util/List;- named - statesByLevel- Lnet/minecraft/block/FluidBlock;statesByLevel:Ljava/util/List;
 
 
- 
- 
Constructor Details- 
FluidBlock- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldbf;<init>(Leep;Ldjg$d;)V- intermediary - <init>- Lnet/minecraft/class_2404;<init>(Lnet/minecraft/class_3609;Lnet/minecraft/class_4970$class_2251;)V- named - <init>- Lnet/minecraft/block/FluidBlock;<init>(Lnet/minecraft/fluid/FlowableFluid;Lnet/minecraft/block/AbstractBlock$Settings;)V
 
 
- 
- 
Method Details- 
getCodec- Overrides:
- getCodecin class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldjg;a()Lcom/mojang/serialization/MapCodec;- intermediary - method_53969- Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;- named - getCodec- Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
 
- 
getCollisionShapepublic VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getCollisionShapein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldjg;b(Ldjh;Lcsv;Lhx;Lely;)Lemm;- intermediary - method_9549- Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;- named - getCollisionShape- Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
 
- 
hasRandomTicks- Overrides:
- hasRandomTicksin class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - e_- Lcwq;e_(Ldjh;)Z- intermediary - method_9542- Lnet/minecraft/class_2248;method_9542(Lnet/minecraft/class_2680;)Z- named - hasRandomTicks- Lnet/minecraft/block/Block;hasRandomTicks(Lnet/minecraft/block/BlockState;)Z
 
- 
randomTickCalled server-side when a block gets ticked randomly. This can be overridden to implement various logics, most commonly plant growth. Default implementation callsAbstractBlock.scheduledTick(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.util.math.random.Random). 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 class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldjg;b(Ldjh;Land;Lhx;Lauv;)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- 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
 
- 
isTransparent- Overrides:
- isTransparentin class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lcwq;a_(Ldjh;Lcsv;Lhx;)Z- intermediary - method_9579- Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z- named - isTransparent- Lnet/minecraft/block/Block;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
 
- 
getFluidStateReturns the state's associated fluid state.Waterloggable blocks must override this to return Fluids.WATER.getStill(false)when waterlogged.- Overrides:
- getFluidStatein class- AbstractBlock
- Returns:
- the state's associated fluid state
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c_- Ldjg;c_(Ldjh;)Leer;- intermediary - method_9545- Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;- named - getFluidState- Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
 
- 
isSideInvisible- Overrides:
- isSideInvisiblein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldjg;a(Ldjh;Ldjh;Lic;)Z- intermediary - method_9522- Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z- named - isSideInvisible- Lnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
 
- 
getRenderTypeReturns the block's render type (invisible, animated, model).- Overrides:
- getRenderTypein class- AbstractBlock
- Returns:
- the block's render type (invisible, animated, model)
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Ldjg;b_(Ldjh;)Ldcv;- intermediary - method_9604- Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;- named - getRenderType- Lnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
 
- 
getDroppedStacksReturns the block's dropped item stacks.The default implementation uses loot tables. Blocks with custom drops should not hardcode the drops; instead, make a new loot table. If the loot table needs an additional context, override this method and modify builderbefore callingsuper.getDroppedStacks. An example of this isShulkerBoxBlock. Note that to prevent item duplication, when appending item stacks to the builder,ItemStack.split(int)should be called.This method should not be used for dropping inventory contents ( AbstractBlock.onStateReplaced(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, boolean)should be used instead) or to drop experience orbs (AbstractBlock.onStacksDropped(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.item.ItemStack, boolean)should be used instead).- Overrides:
- getDroppedStacksin class- AbstractBlock
- Returns:
- the block's dropped item stacks
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldjg;a(Ldjh;Lehc$a;)Ljava/util/List;- intermediary - method_9560- Lnet/minecraft/class_4970;method_9560(Lnet/minecraft/class_2680;Lnet/minecraft/class_8567$class_8568;)Ljava/util/List;- named - getDroppedStacks- Lnet/minecraft/block/AbstractBlock;getDroppedStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/loot/context/LootContextParameterSet$Builder;)Ljava/util/List;
 
- 
getOutlineShapepublic VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getOutlineShapein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldjg;a(Ldjh;Lcsv;Lhx;Lely;)Lemm;- 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;- 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;
 
- 
onBlockAddedpublic void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed. This includes block placement. When overriding this method,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)orAbstractBlock.neighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.Block, net.minecraft.util.math.BlockPos, boolean)should also be overridden. The method is used in the following cases:- When activating a redstone component on placement (used along with 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)
- When resetting a position-dependent state (see TargetBlock)
- When converting a block on placement (see WetSpongeBlock)
- When fire lights a portal
 - Overrides:
- onBlockAddedin class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldjg;b(Ldjh;Lctp;Lhx;Ldjh;Z)V- intermediary - method_9615- Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V- named - onBlockAdded- Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
 
- When activating a redstone component on placement (used along with 
- 
getStateForNeighborUpdatepublic 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 class- AbstractBlock
- Parameters:
- state- the state of this block
- direction- the direction from this block to the neighbor
- neighborState- the state of the updated neighbor block
- world- the world
- pos- the position of this block
- neighborPos- 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 - a- Ldjg;a(Ldjh;Lic;Ldjh;Lctq;Lhx;Lhx;)Ldjh;- 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;- 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;
 
- 
neighborUpdatepublic void neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated. This method should be overridden to perform an action with a side effect, most notably an activation of a redstone component. This can also be used to perform an action changing block states of other blocks, such asSpongeBlockwhich absorbs water.To replace the state of the block itself, override 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)instead.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:
- neighborUpdatein class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldjg;a(Ldjh;Lctp;Lhx;Lcwq;Lhx;Z)V- intermediary - method_9612- Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V- named - neighborUpdate- Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
 
- 
receiveNeighborFluids- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldbf;a(Lctp;Lhx;Ldjh;)Z- intermediary - method_10316- Lnet/minecraft/class_2404;method_10316(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z- named - receiveNeighborFluids- Lnet/minecraft/block/FluidBlock;receiveNeighborFluids(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
 
- 
playExtinguishSound- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldbf;a(Lctq;Lhx;)V- intermediary - method_10318- Lnet/minecraft/class_2404;method_10318(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V- named - playExtinguishSound- Lnet/minecraft/block/FluidBlock;playExtinguishSound(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
 
- 
appendPropertiesAppends 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 class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcwq;a(Ldji$a;)V- intermediary - method_9515- Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V- named - appendProperties- Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
 
- 
tryDrainFluidpublic ItemStack tryDrainFluid(@Nullable @Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) - Specified by:
- tryDrainFluidin interface- FluidDrainable
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcwx;a(Lcfi;Lctq;Lhx;Ldjh;)Lcmy;- intermediary - method_9700- Lnet/minecraft/class_2263;method_9700(Lnet/minecraft/class_1657;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;- named - tryDrainFluid- Lnet/minecraft/block/FluidDrainable;tryDrainFluid(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
 
- 
getBucketFillSoundReturns the sound played when filling a bucket with the fluid contained in this block.- Specified by:
- getBucketFillSoundin interface- FluidDrainable
- Returns:
- the sound played when filling a bucket with the fluid contained in this block
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - au_- Lcwx;au_()Ljava/util/Optional;- intermediary - method_32351- Lnet/minecraft/class_2263;method_32351()Ljava/util/Optional;- named - getBucketFillSound- Lnet/minecraft/block/FluidDrainable;getBucketFillSound()Ljava/util/Optional;
 
 
-