Package net.minecraftforge.fluids
Class ForgeFlowingFluid.Source
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Fluid>
-
- net.minecraft.fluid.Fluid
-
- net.minecraft.fluid.FlowingFluid
-
- net.minecraftforge.fluids.ForgeFlowingFluid
-
- net.minecraftforge.fluids.ForgeFlowingFluid.Source
-
- All Implemented Interfaces:
IForgeFluid
,IForgeRegistryEntry<Fluid>
- Enclosing class:
- ForgeFlowingFluid
public static class ForgeFlowingFluid.Source 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 Source(ForgeFlowingFluid.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, createFluidStateDefinition, 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
-
Source
public Source(ForgeFlowingFluid.Properties properties)
-
-
Method Detail
-
getAmount
public int getAmount(FluidState state)
-
isSource
public boolean isSource(FluidState state)
-
-