接口 FluidDrainable
-
- 所有已知子接口:
Waterloggable
- 所有已知实现类:
AbstractRailBlock,AbstractSignBlock,AmethystClusterBlock,BigDripleafBlock,BigDripleafStemBlock,BubbleColumnBlock,CampfireBlock,CandleBlock,ChainBlock,ChestBlock,ConduitBlock,CoralBlock,CoralFanBlock,CoralParentBlock,CoralWallFanBlock,DeadCoralBlock,DeadCoralFanBlock,DeadCoralWallFanBlock,DetectorRailBlock,EnderChestBlock,FenceBlock,FluidBlock,GlowLichenBlock,HorizontalConnectingBlock,LadderBlock,LanternBlock,LightBlock,LightningRodBlock,OxidizableSlabBlock,OxidizableStairsBlock,PaneBlock,PointedDripstoneBlock,PowderSnowBlock,PoweredRailBlock,RailBlock,ScaffoldingBlock,SculkSensorBlock,SeaPickleBlock,SignBlock,SlabBlock,SmallDripleafBlock,StainedGlassPaneBlock,StairsBlock,TrapdoorBlock,TrappedChestBlock,WallBlock,WallSignBlock
public interface FluidDrainable- Mappings:
Namespace Name official byvintermediary net/minecraft/class_2263named net/minecraft/block/FluidDrainable
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Optional<SoundEvent>getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.ItemStacktryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
-
-
-
方法详细资料
-
tryDrainFluid
ItemStack tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official cLbyv;c(Lbvs;Lgb;Lcjr;)Lbpr;intermediary method_9700Lnet/minecraft/class_2263;method_9700(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;named tryDrainFluidLnet/minecraft/block/FluidDrainable;tryDrainFluid(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.- 另请参阅:
Fluid.getBucketFillSound()- Mappings:
Namespace Name Mixin selector official cLbyv;c()Ljava/util/Optional;intermediary method_32351Lnet/minecraft/class_2263;method_32351()Ljava/util/Optional;named getBucketFillSoundLnet/minecraft/block/FluidDrainable;getBucketFillSound()Ljava/util/Optional;
-
-