Class FlowingGas.Flowing
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraftforge.fluids.ForgeFlowingFluid
com.forsteri.unlimitedfluidity.core.SmartFluid
com.forsteri.unlimitedfluidity.core.fluidbehaviors.BehaviorableFluid
com.forsteri.unlimitedfluidity.core.flowinggas.FlowingGas
com.forsteri.unlimitedfluidity.core.flowinggas.FlowingGas.Flowing
- All Implemented Interfaces:
IBehaviorable
,net.minecraftforge.common.extensions.IForgeFluid
- Enclosing class:
- FlowingGas
Default flowing gas implementation
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.forsteri.unlimitedfluidity.core.flowinggas.FlowingGas
FlowingGas.Flowing, FlowingGas.Source
Nested classes/interfaces inherited from class net.minecraftforge.fluids.ForgeFlowingFluid
net.minecraftforge.fluids.ForgeFlowingFluid.Properties
-
Field Summary
Fields inherited from class com.forsteri.unlimitedfluidity.core.flowinggas.FlowingGas
DENSITY, gasMovementMap, MAX_DENSITY
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
Methods inherited from class com.forsteri.unlimitedfluidity.core.flowinggas.FlowingGas
animateTick, canHydrate, canSpreadTo, createFluidStateDefinition, createLegacyBlock, findAndMoveUp, getAmount, getFlowDirection, getFlowing, getGasMap, getGraph, getHeight, getMovementHandler, getRisePossibility, getShape, getUncheckedBehaviors, isRandomlyTicking, looped, moveInPath, randomTick, render, spread, spreadHorizontally, spreadVertically, tick
Methods inherited from class com.forsteri.unlimitedfluidity.core.fluidbehaviors.BehaviorableFluid
beforeDestroyingBlock, getBehaviors
Methods inherited from class com.forsteri.unlimitedfluidity.core.SmartFluid
isSource
Methods inherited from class net.minecraftforge.fluids.ForgeFlowingFluid
canBeReplacedWith, canConvertToSource, canConvertToSource, getBucket, getDropOff, getExplosionResistance, getFlowing, getFluidType, getPickupSound, getSlopeFindDistance, getSource, getTickDelay, isSame
Methods inherited from class net.minecraft.world.level.material.FlowingFluid
canSpreadTo, getFlow, getLegacyLevel, getNewLiquid, getOwnHeight, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, spreadTo
Methods inherited from class net.minecraft.world.level.material.Fluid
builtInRegistryHolder, defaultFluidState, getDripParticle, getStateDefinition, is, isEmpty, registerDefaultState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.forsteri.unlimitedfluidity.core.fluidbehaviors.IBehaviorable
getBehavior
Methods inherited from interface net.minecraftforge.common.extensions.IForgeFluid
canExtinguish, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, shouldUpdateWhileBoating, supportsBoating
-
Constructor Details
-
Flowing
public Flowing(net.minecraftforge.fluids.ForgeFlowingFluid.Properties properties)
-
-
Method Details
-
isSource
public boolean isSource()- Specified by:
isSource
in classSmartFluid
- Returns:
- whether the fluid state is source
-