Package net.minecraft.block
Interface Waterloggable
- All Superinterfaces:
- FluidDrainable,- FluidFillable
- All Known Implementing Classes:
- AbstractCoralBlock,- AbstractRailBlock,- AbstractSignBlock,- AmethystClusterBlock,- BarrierBlock,- BigDripleafBlock,- BigDripleafStemBlock,- CalibratedSculkSensorBlock,- CampfireBlock,- CandleBlock,- ChainBlock,- ChestBlock,- ConduitBlock,- CoralBlock,- CoralFanBlock,- CoralWallFanBlock,- DeadCoralBlock,- DeadCoralFanBlock,- DeadCoralWallFanBlock,- DecoratedPotBlock,- DetectorRailBlock,- EnderChestBlock,- FenceBlock,- GlowLichenBlock,- GrateBlock,- HangingRootsBlock,- HangingSignBlock,- HeavyCoreBlock,- HorizontalConnectingBlock,- LadderBlock,- LanternBlock,- LeavesBlock,- LightBlock,- LightningRodBlock,- MangroveLeavesBlock,- MangroveRootsBlock,- MultifaceBlock,- MultifaceGrowthBlock,- OxidizableGrateBlock,- OxidizableSlabBlock,- OxidizableStairsBlock,- OxidizableTrapdoorBlock,- PaneBlock,- ParticleLeavesBlock,- PointedDripstoneBlock,- PoweredRailBlock,- PropaguleBlock,- RailBlock,- ScaffoldingBlock,- SculkSensorBlock,- SculkShriekerBlock,- SculkVeinBlock,- SeaPickleBlock,- SignBlock,- SlabBlock,- SmallDripleafBlock,- StainedGlassPaneBlock,- StairsBlock,- TrapdoorBlock,- TrappedChestBlock,- WallBlock,- WallHangingSignBlock,- WallSignBlock
- Mappings:
- Namespace - Name - named - net/minecraft/block/Waterloggable- intermediary - net/minecraft/class_3737- official - dqt
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleancanFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) default Optional<SoundEvent> Returns the sound played when filling a bucket with the fluid contained in this block.default ItemStacktryDrainFluid(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) default booleantryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) 
- 
Method Details- 
canFillWithFluiddefault boolean canFillWithFluid(@Nullable @Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) - Specified by:
- canFillWithFluidin interface- FluidFillable
- Mappings:
- Namespace - Name - Mixin selector - named - canFillWithFluid- Lnet/minecraft/block/FluidFillable;canFillWithFluid(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z- intermediary - method_10310- Lnet/minecraft/class_2402;method_10310(Lnet/minecraft/class_1657;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)Z- official - a- Ldog;a(Lcoy;Ldfo;Lji;Ldwy;Lesz;)Z
 
- 
tryFillWithFluiddefault boolean tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) - Specified by:
- tryFillWithFluidin interface- FluidFillable
- Mappings:
- Namespace - Name - Mixin selector - named - tryFillWithFluid- Lnet/minecraft/block/FluidFillable;tryFillWithFluid(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Z- intermediary - method_10311- Lnet/minecraft/class_2402;method_10311(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)Z- official - a- Ldog;a(Ldgk;Lji;Ldwy;Leta;)Z
 
- 
tryDrainFluiddefault ItemStack tryDrainFluid(@Nullable @Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) - Specified by:
- tryDrainFluidin interface- FluidDrainable
- Mappings:
- Namespace - Name - Mixin selector - 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;- 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;- official - a- Ldjv;a(Lcoy;Ldgk;Lji;Ldwy;)Lcwq;
 
- 
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 - named - getBucketFillSound- Lnet/minecraft/block/FluidDrainable;getBucketFillSound()Ljava/util/Optional;- intermediary - method_32351- Lnet/minecraft/class_2263;method_32351()Ljava/util/Optional;- official - as_- Ldjv;as_()Ljava/util/Optional;
 
 
-