Class WaterFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.WaterFluid
- All Implemented Interfaces:
- IFluidExtension
- Direct Known Subclasses:
- WaterFluid.Flowing,- WaterFluid.Source
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class net.minecraft.world.level.material.FlowingFluidFALLING, LEVELFields inherited from class net.minecraft.world.level.material.FluidFLUID_STATE_REGISTRY, stateDefinition
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidanimateTick(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) protected voidbeforeDestroyingBlock(LevelAccessor p_76450_, BlockPos p_76451_, BlockState p_76452_) booleancanBeReplacedWith(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) protected booleancanConvertToSource(Level p_256670_) createLegacyBlock(FluidState p_76466_) intgetDropOff(LevelReader p_76469_) protected floatintgetSlopeFindDistance(LevelReader p_76464_) intgetTickDelay(LevelReader p_76454_) booleanMethods inherited from class net.minecraft.world.level.material.FlowingFluidcanConvertToSource, canSpreadTo, createFluidStateDefinition, getAmount, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, spread, spreadTo, tickMethods inherited from class net.minecraft.world.level.material.FluidbuiltInRegistryHolder, defaultFluidState, getFluidType, getStateDefinition, is, isEmpty, isRandomlyTicking, isSource, randomTick, registerDefaultStateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IFluidExtensioncanExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
- 
Constructor Details- 
WaterFluidpublic WaterFluid()
 
- 
- 
Method Details- 
getFlowing- Specified by:
- getFlowingin class- FlowingFluid
 
- 
getSource- Specified by:
- getSourcein class- FlowingFluid
 
- 
getBucket
- 
animateTickpublic void animateTick(Level p_230606_, BlockPos p_230607_, FluidState p_230608_, RandomSource p_230609_) - Overrides:
- animateTickin class- Fluid
 
- 
getDripParticle- Overrides:
- getDripParticlein class- Fluid
 
- 
canConvertToSource- Specified by:
- canConvertToSourcein class- FlowingFluid
 
- 
beforeDestroyingBlockprotected void beforeDestroyingBlock(LevelAccessor p_76450_, BlockPos p_76451_, BlockState p_76452_) - Specified by:
- beforeDestroyingBlockin class- FlowingFluid
 
- 
getSlopeFindDistance- Specified by:
- getSlopeFindDistancein class- FlowingFluid
 
- 
createLegacyBlock- Specified by:
- createLegacyBlockin class- Fluid
 
- 
isSame
- 
getDropOff- Specified by:
- getDropOffin class- FlowingFluid
 
- 
getTickDelay- Specified by:
- getTickDelayin class- Fluid
 
- 
canBeReplacedWithpublic boolean canBeReplacedWith(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) - Specified by:
- canBeReplacedWithin class- Fluid
 
- 
getExplosionResistanceprotected float getExplosionResistance()- Specified by:
- getExplosionResistancein class- Fluid
 
- 
getPickupSound- Overrides:
- getPickupSoundin class- Fluid
 
 
-