Class VirtualFluid
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<net.minecraft.world.level.material.Fluid>
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraftforge.fluids.ForgeFlowingFluid
com.simibubi.create.content.contraptions.fluids.VirtualFluid
- All Implemented Interfaces:
net.minecraftforge.common.extensions.IForgeFluid,net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.level.material.Fluid>
- Direct Known Subclasses:
PotionFluid
public class VirtualFluid
extends net.minecraftforge.fluids.ForgeFlowingFluid
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.fluids.ForgeFlowingFluid
net.minecraftforge.fluids.ForgeFlowingFluid.Flowing, net.minecraftforge.fluids.ForgeFlowingFluid.Properties, net.minecraftforge.fluids.ForgeFlowingFluid.SourceNested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>> -
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, stateDefinitionFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
ConstructorsConstructorDescriptionVirtualFluid(net.minecraftforge.fluids.ForgeFlowingFluid.Properties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.level.block.state.BlockStatecreateLegacyBlock(net.minecraft.world.level.material.FluidState state) intgetAmount(net.minecraft.world.level.material.FluidState p_207192_1_) net.minecraft.world.item.Itemnet.minecraft.world.level.material.Fluidnet.minecraft.world.level.material.FluidbooleanisSource(net.minecraft.world.level.material.FluidState p_207193_1_) Methods inherited from class net.minecraftforge.fluids.ForgeFlowingFluid
beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, createAttributes, getDropOff, getExplosionResistance, 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, getAttributes, getDripParticle, getStateDefinition, is, isEmpty, isRandomlyTicking, randomTick, registerDefaultStateMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeFluid
getExplosionResistance, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
-
Constructor Details
-
VirtualFluid
public VirtualFluid(net.minecraftforge.fluids.ForgeFlowingFluid.Properties properties)
-
-
Method Details
-
getSource
public net.minecraft.world.level.material.Fluid getSource()- Overrides:
getSourcein classnet.minecraftforge.fluids.ForgeFlowingFluid
-
getFlowing
public net.minecraft.world.level.material.Fluid getFlowing()- Overrides:
getFlowingin classnet.minecraftforge.fluids.ForgeFlowingFluid
-
getBucket
public net.minecraft.world.item.Item getBucket()- Overrides:
getBucketin classnet.minecraftforge.fluids.ForgeFlowingFluid
-
createLegacyBlock
protected net.minecraft.world.level.block.state.BlockState createLegacyBlock(net.minecraft.world.level.material.FluidState state) - Overrides:
createLegacyBlockin classnet.minecraftforge.fluids.ForgeFlowingFluid
-
isSource
public boolean isSource(net.minecraft.world.level.material.FluidState p_207193_1_) - Specified by:
isSourcein classnet.minecraft.world.level.material.Fluid
-
getAmount
public int getAmount(net.minecraft.world.level.material.FluidState p_207192_1_) - Specified by:
getAmountin classnet.minecraft.world.level.material.FlowingFluid
-