Package net.minecraft.block
Interface FluidDrainable
- All Known Subinterfaces:
Waterloggable
- All Known Implementing Classes:
AbstractRailBlock
,AbstractSignBlock
,AmethystClusterBlock
,BarrierBlock
,BigDripleafBlock
,BigDripleafStemBlock
,BubbleColumnBlock
,CalibratedSculkSensorBlock
,CampfireBlock
,CandleBlock
,ChainBlock
,CherryLeavesBlock
,ChestBlock
,ConduitBlock
,CoralBlock
,CoralFanBlock
,CoralParentBlock
,CoralWallFanBlock
,DeadCoralBlock
,DeadCoralFanBlock
,DeadCoralWallFanBlock
,DecoratedPotBlock
,DetectorRailBlock
,EnderChestBlock
,FenceBlock
,FluidBlock
,GlowLichenBlock
,GrateBlock
,HangingRootsBlock
,HangingSignBlock
,HorizontalConnectingBlock
,LadderBlock
,LanternBlock
,LeavesBlock
,LightBlock
,LightningRodBlock
,MangroveLeavesBlock
,MangroveRootsBlock
,OxidizableGrateBlock
,OxidizableSlabBlock
,OxidizableStairsBlock
,OxidizableTrapdoorBlock
,PaneBlock
,PointedDripstoneBlock
,PowderSnowBlock
,PoweredRailBlock
,PropaguleBlock
,RailBlock
,ScaffoldingBlock
,SculkSensorBlock
,SculkShriekerBlock
,SculkVeinBlock
,SeaPickleBlock
,SignBlock
,SlabBlock
,SmallDripleafBlock
,StainedGlassPaneBlock
,StairsBlock
,TrapdoorBlock
,TrappedChestBlock
,WallBlock
,WallHangingSignBlock
,WallSignBlock
public interface FluidDrainable
- Mappings:
Namespace Name official cwx
intermediary net/minecraft/class_2263
named net/minecraft/block/FluidDrainable
-
Method Summary
Modifier and TypeMethodDescriptionReturns the sound played when filling a bucket with the fluid contained in this block.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state)
-
Method Details
-
tryDrainFluid
ItemStack tryDrainFluid(@Nullable @Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) - 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;
-
getBucketFillSound
Optional<SoundEvent> getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.- 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;
-