Package net.minecraft.block
Interface Waterloggable
- All Superinterfaces:
FluidDrainable
,FluidFillable
- All Known Implementing Classes:
AbstractRailBlock
,AbstractSignBlock
,AmethystClusterBlock
,BigDripleafBlock
,BigDripleafStemBlock
,CampfireBlock
,CandleBlock
,ChainBlock
,ChestBlock
,ConduitBlock
,CoralBlock
,CoralFanBlock
,CoralParentBlock
,CoralWallFanBlock
,DeadCoralBlock
,DeadCoralFanBlock
,DeadCoralWallFanBlock
,DetectorRailBlock
,EnderChestBlock
,FenceBlock
,GlowLichenBlock
,HangingRootsBlock
,HorizontalConnectingBlock
,LadderBlock
,LanternBlock
,LightBlock
,LightningRodBlock
,OxidizableSlabBlock
,OxidizableStairsBlock
,PaneBlock
,PointedDripstoneBlock
,PoweredRailBlock
,RailBlock
,ScaffoldingBlock
,SculkSensorBlock
,SeaPickleBlock
,SignBlock
,SlabBlock
,SmallDripleafBlock
,StainedGlassPaneBlock
,StairsBlock
,TrapdoorBlock
,TrappedChestBlock
,WallBlock
,WallSignBlock
- Mappings:
Namespace Name official cft
intermediary net/minecraft/class_3737
named net/minecraft/block/Waterloggable
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canFillWithFluid(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 ItemStack
tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
default boolean
tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
-
Method Details
-
canFillWithFluid
- Specified by:
canFillWithFluid
in interfaceFluidFillable
- Mappings:
Namespace Name Mixin selector official a
Lcdt;a(Lbvt;Lgg;Lcks;Lder;)Z
intermediary method_10310
Lnet/minecraft/class_2402;method_10310(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)Z
named canFillWithFluid
Lnet/minecraft/block/FluidFillable;canFillWithFluid(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z
-
tryFillWithFluid
default boolean tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)- Specified by:
tryFillWithFluid
in interfaceFluidFillable
- Mappings:
Namespace Name Mixin selector official a
Lcdt;a(Lbwq;Lgg;Lcks;Ldes;)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
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
-
tryDrainFluid
- Specified by:
tryDrainFluid
in interfaceFluidDrainable
- Mappings:
Namespace Name Mixin selector official c
Lbzt;c(Lbwq;Lgg;Lcks;)Lbqp;
intermediary method_9700
Lnet/minecraft/class_2263;method_9700(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/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
getBucketFillSound
Returns the sound played when filling a bucket with the fluid contained in this block.- Specified by:
getBucketFillSound
in interfaceFluidDrainable
- See Also:
Fluid.getBucketFillSound()
- Mappings:
Namespace Name Mixin selector official V_
Lbzt;V_()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;
-