Class WaterFluid.Source
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Fluid>
net.minecraft.world.level.material.Fluid
net.minecraft.world.level.material.FlowingFluid
net.minecraft.world.level.material.WaterFluid
net.minecraft.world.level.material.WaterFluid.Source
- All Implemented Interfaces:
IForgeFluid
,IForgeRegistryEntry<Fluid>
- Enclosing class:
- WaterFluid
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.material.WaterFluid
WaterFluid.Flowing, WaterFluid.Source
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
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
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getAmount
(FluidState p_76485_) boolean
isSource
(FluidState p_76483_) Methods inherited from class net.minecraft.world.level.material.WaterFluid
animateTick, beforeDestroyingBlock, canBeReplacedWith, canConvertToSource, createLegacyBlock, getBucket, getDripParticle, getDropOff, getExplosionResistance, getFlowing, getPickupSound, getSlopeFindDistance, getSource, getTickDelay, isSame
Methods 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, tick
Methods inherited from class net.minecraft.world.level.material.Fluid
builtInRegistryHolder, createAttributes, defaultFluidState, getAttributes, getStateDefinition, is, isEmpty, isRandomlyTicking, randomTick, registerDefaultState
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
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
getExplosionResistance, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
-
Constructor Details
-
Source
public Source()
-
-
Method Details
-
getAmount
- Specified by:
getAmount
in classFlowingFluid
-
isSource
-