Package net.minecraftforge.fluids
Class ForgeFlowingFluid.Flowing
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Fluid>
-
- net.minecraft.fluid.Fluid
-
- net.minecraft.fluid.FlowingFluid
-
- net.minecraftforge.fluids.ForgeFlowingFluid
-
- net.minecraftforge.fluids.ForgeFlowingFluid.Flowing
-
- All Implemented Interfaces:
IForgeFluid
,IForgeRegistryEntry<Fluid>
- Enclosing class:
- ForgeFlowingFluid
public static class ForgeFlowingFluid.Flowing extends ForgeFlowingFluid
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.fluids.ForgeFlowingFluid
ForgeFlowingFluid.Flowing, ForgeFlowingFluid.Properties, ForgeFlowingFluid.Source
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
-
Fields inherited from class net.minecraft.fluid.FlowingFluid
FALLING, LEVEL
-
Fields inherited from class net.minecraft.fluid.Fluid
FLUID_STATE_REGISTRY, stateDefinition
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description Flowing(ForgeFlowingFluid.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createFluidStateDefinition(StateContainer.Builder<Fluid,FluidState> builder)
int
getAmount(FluidState state)
boolean
isSource(FluidState state)
-
Methods inherited from class net.minecraftforge.fluids.ForgeFlowingFluid
beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, createAttributes, createLegacyBlock, getBucket, getDropOff, getExplosionResistance, getFlowing, getSlopeFindDistance, getSource, getTickDelay, isSame
-
Methods inherited from class net.minecraft.fluid.FlowingFluid
canSpreadTo, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, spread, spreadTo, tick
-
Methods inherited from class net.minecraft.fluid.Fluid
animateTick, defaultFluidState, getAttributes, getDripParticle, getStateDefinition, getTags, is, isEmpty, isRandomlyTicking, randomTick, registerDefaultState
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
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
getExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
-
-
-
-
Constructor Detail
-
Flowing
public Flowing(ForgeFlowingFluid.Properties properties)
-
-
Method Detail
-
createFluidStateDefinition
protected void createFluidStateDefinition(StateContainer.Builder<Fluid,FluidState> builder)
- Overrides:
createFluidStateDefinition
in classFlowingFluid
-
getAmount
public int getAmount(FluidState state)
-
isSource
public boolean isSource(FluidState state)
-
-