Package com.hrznstudio.titanium.fluid
Class TitaniumFluid.Source
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
com.hrznstudio.titanium.fluid.TitaniumFluid
com.hrznstudio.titanium.fluid.TitaniumFluid.Source
- All Implemented Interfaces:
net.minecraftforge.common.extensions.IForgeFluid,net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.level.material.Fluid>
- Enclosing class:
- TitaniumFluid
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hrznstudio.titanium.fluid.TitaniumFluid
TitaniumFluid.Flowing, TitaniumFluid.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
Constructors -
Method Summary
Methods inherited from class com.hrznstudio.titanium.fluid.TitaniumFluid
beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, createAttributes, createLegacyBlock, getBucket, getDropOff, getExplosionResistance, getFlowing, getSlopeFindDistance, getSource, getTickDelay, isSame, setBlockFluid, setBucketFluid, setFlowingFluid, setSourceFluidMethods 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, defaultFluidState, getAttributes, getDripParticle, getPickupSound, getStateDefinition, getTags, 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
-
Source
public Source(net.minecraftforge.fluids.FluidAttributes.Builder fluidAttributes)
-
-
Method Details
-
getAmount
public int getAmount(@Nonnull net.minecraft.world.level.material.FluidState p_207192_1_)- Overrides:
getAmountin classTitaniumFluid
-
isSource
public boolean isSource(@Nonnull net.minecraft.world.level.material.FluidState state)- Overrides:
isSourcein classTitaniumFluid
-