Class WaterFluid.Source
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.Source
- All Implemented Interfaces:
IFluidExtension
- Enclosing class:
WaterFluid
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.material.WaterFluid
WaterFluid.Flowing, WaterFluid.SourceNested classes/interfaces inherited from class net.minecraft.world.level.material.FlowingFluid
FlowingFluid.BlockStatePairKey, FlowingFluid.SpreadContext -
Field Summary
Fields inherited from class net.minecraft.world.level.material.FlowingFluid
FALLING, LEVELFields inherited from class net.minecraft.world.level.material.Fluid
FLUID_STATE_REGISTRY, stateDefinition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAmount(FluidState pState) booleanisSource(FluidState pState) Methods inherited from class net.minecraft.world.level.material.WaterFluid
animateTick, beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, createLegacyBlock, entityInside, getBucket, getDripParticle, getDropOff, getExplosionResistance, getFlowing, getPickupSound, getSlopeFindDistance, getSource, getTickDelay, isSameMethods inherited from class net.minecraft.world.level.material.FlowingFluid
canConvertToSource, createFluidStateDefinition, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, isWaterHole, spread, spreadTo, tickMethods inherited from class net.minecraft.world.level.material.Fluid
builtInRegistryHolder, computeDefaultResource, defaultFluidState, getAABB, getFluidType, getStateDefinition, is, isEmpty, isRandomlyTicking, randomTick, registerDefaultState, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IFluidExtension
canExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
-
Constructor Details
-
Source
public Source()
-
-
Method Details
-
getAmount
- Specified by:
getAmountin classFlowingFluid
-
isSource
-