Package net.neoforged.neoforge.fluids
Class BaseFlowingFluid.Flowing
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.neoforged.neoforge.fluids.BaseFlowingFluid
net.neoforged.neoforge.fluids.BaseFlowingFluid.Flowing
- All Implemented Interfaces:
IFluidExtension
- Enclosing class:
BaseFlowingFluid
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.fluids.BaseFlowingFluid
BaseFlowingFluid.Flowing, BaseFlowingFluid.Properties, BaseFlowingFluid.Source
Nested classes/interfaces inherited from class net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.FlowingFluid.SpreadContext
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createFluidStateDefinition
(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.material.Fluid, net.minecraft.world.level.material.FluidState> builder) int
getAmount
(net.minecraft.world.level.material.FluidState state) boolean
isSource
(net.minecraft.world.level.material.FluidState state) Methods inherited from class net.neoforged.neoforge.fluids.BaseFlowingFluid
beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, canConvertToSource, createLegacyBlock, getBucket, getDropOff, getExplosionResistance, getFlowing, getFluidType, getPickupSound, getSlopeFindDistance, getSource, getTickDelay, isSame
Methods inherited from class net.minecraft.world.level.material.FlowingFluid
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
animateTick, builtInRegistryHolder, defaultFluidState, entityInside, getAABB, getDripParticle, getStateDefinition, is, isEmpty, isRandomlyTicking, randomTick, registerDefaultState, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.common.extensions.IFluidExtension
canExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
-
Constructor Details
-
Flowing
-
-
Method Details
-
createFluidStateDefinition
protected void createFluidStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.material.Fluid, net.minecraft.world.level.material.FluidState> builder) - Overrides:
createFluidStateDefinition
in classnet.minecraft.world.level.material.FlowingFluid
-
getAmount
public int getAmount(net.minecraft.world.level.material.FluidState state) - Specified by:
getAmount
in classnet.minecraft.world.level.material.FlowingFluid
-
isSource
public boolean isSource(net.minecraft.world.level.material.FluidState state) - Specified by:
isSource
in classnet.minecraft.world.level.material.Fluid
-