Class LavaFluid.Source
java.lang.Object
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.LavaFluid
net.minecraft.world.level.material.LavaFluid.Source
- All Implemented Interfaces:
IForgeFluid
- Enclosing class:
- LavaFluid
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.material.LavaFluid
LavaFluid.Flowing, LavaFluid.Source
-
Field Summary
Fields inherited from class net.minecraft.world.level.material.LavaFluid
MIN_LEVEL_CUTOFF
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
-
Method Summary
Modifier and TypeMethodDescriptionint
getAmount
(FluidState p_76269_) boolean
isSource
(FluidState p_76267_) Methods inherited from class net.minecraft.world.level.material.LavaFluid
animateTick, beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, createLegacyBlock, getBucket, getDripParticle, getDropOff, getExplosionResistance, getFlowing, getPickupSound, getSlopeFindDistance, getSource, getSpreadDelay, getTickDelay, isRandomlyTicking, isSame, randomTick, spreadTo
Methods inherited from class net.minecraft.world.level.material.FlowingFluid
canConvertToSource, canSpreadTo, createFluidStateDefinition, getFlow, getFlowing, getHeight, getLegacyLevel, getNewLiquid, getOwnHeight, getShape, getSlopeDistance, getSource, getSpread, isSolidFace, spread, tick
Methods inherited from class net.minecraft.world.level.material.Fluid
builtInRegistryHolder, defaultFluidState, getFluidType, 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 net.minecraftforge.common.extensions.IForgeFluid
canExtinguish, canHydrate, getAdjacentBlockPathType, getBlockPathType, getExplosionResistance, move, supportsBoating
-
Constructor Details
-
Source
public Source()
-
-
Method Details
-
getAmount
- Specified by:
getAmount
in classFlowingFluid
-
isSource
-