Class PotionFluid
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.neoforged.neoforge.fluids.BaseFlowingFluid
com.simibubi.create.content.fluids.VirtualFluid
com.simibubi.create.content.fluids.potion.PotionFluid
- All Implemented Interfaces:
net.neoforged.neoforge.common.extensions.IFluidExtension
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classNested classes/interfaces inherited from class net.neoforged.neoforge.fluids.BaseFlowingFluid
net.neoforged.neoforge.fluids.BaseFlowingFluid.Flowing, net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties, net.neoforged.neoforge.fluids.BaseFlowingFluid.Source -
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
ConstructorsConstructorDescriptionPotionFluid(net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties properties, boolean source) -
Method Summary
Modifier and TypeMethodDescriptionstatic net.neoforged.neoforge.fluids.FluidStackaddPotionToFluidStack(net.neoforged.neoforge.fluids.FluidStack fs, net.minecraft.world.item.alchemy.PotionContents potionContents) static PotionFluidcreateFlowing(net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties properties) static PotionFluidcreateSource(net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties properties) static net.neoforged.neoforge.fluids.FluidStackof(int amount, net.minecraft.world.item.alchemy.PotionContents potionContents, PotionFluid.BottleType bottleType) Methods inherited from class com.simibubi.create.content.fluids.VirtualFluid
createLegacyBlock, getAmount, getBucket, getFlowing, getSource, isSourceMethods inherited from class net.neoforged.neoforge.fluids.BaseFlowingFluid
beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, canConvertToSource, getDropOff, getExplosionResistance, getFluidType, getPickupSound, getSlopeFindDistance, getTickDelay, isSameMethods inherited from class net.minecraft.world.level.material.FlowingFluid
canSpreadTo, createFluidStateDefinition, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, getSpreadDelay, isSolidFace, spread, spreadTo, tickMethods inherited from class net.minecraft.world.level.material.Fluid
animateTick, builtInRegistryHolder, defaultFluidState, getDripParticle, 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
-
PotionFluid
public PotionFluid(net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties properties, boolean source)
-
-
Method Details
-
createSource
public static PotionFluid createSource(net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties properties) -
createFlowing
public static PotionFluid createFlowing(net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties properties) -
of
public static net.neoforged.neoforge.fluids.FluidStack of(int amount, net.minecraft.world.item.alchemy.PotionContents potionContents, PotionFluid.BottleType bottleType) -
addPotionToFluidStack
public static net.neoforged.neoforge.fluids.FluidStack addPotionToFluidStack(net.neoforged.neoforge.fluids.FluidStack fs, net.minecraft.world.item.alchemy.PotionContents potionContents)
-