Class WaterFluid.Flowing
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.WaterFluid
net.minecraft.world.level.material.WaterFluid.Flowing
- All Implemented Interfaces:
IForgeFluid
- Enclosing class:
- WaterFluid
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.material.WaterFluid
WaterFluid.Flowing, WaterFluid.Source
-
Field Summary
Fields inherited from class net.minecraft.world.level.material.FlowingFluid
FALLING, LEVEL
Fields inherited from class net.minecraft.world.level.material.Fluid
FLUID_STATE_REGISTRY, stateDefinition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
int
getAmount
(FluidState p_76480_) boolean
isSource
(FluidState p_76478_) Methods inherited from class net.minecraft.world.level.material.WaterFluid
animateTick, beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, createLegacyBlock, getBucket, getDripParticle, getDropOff, getExplosionResistance, getFlowing, getPickupSound, getSlopeFindDistance, getSource, getTickDelay, isSame
Methods inherited from class net.minecraft.world.level.material.FlowingFluid
canConvertToSource, canSpreadTo, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, spread, spreadTo, tick
Methods inherited from class net.minecraft.world.level.material.Fluid
builtInRegistryHolder, defaultFluidState, getFluidType, getStateDefinition, is, isEmpty, isRandomlyTicking, randomTick, registerDefaultState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.extensions.IForgeFluid
canExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
-
Constructor Details
-
Flowing
public Flowing()
-
-
Method Details
-
createFluidStateDefinition
- Overrides:
createFluidStateDefinition
in classFlowingFluid
-
getAmount
- Specified by:
getAmount
in classFlowingFluid
-
isSource
-