Class WeightedFluidKey<T>
java.lang.Object
alexiil.mc.lib.attributes.fluid.volume.FluidKey
alexiil.mc.lib.attributes.fluid.volume.WeightedFluidKey<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidKey
FluidKey.FluidKeyBuilder
-
Field Summary
Fields inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidKey
cohesion, DEFAULT_GAS_COHESION, DEFAULT_GAS_DENSITY, DEFAULT_GAS_VISCOSITY, density, DESERIALIZER, entry, exactFilter, flowingSpriteId, gaseous, luminosity, name, netherCohesion, netherViscosity, renderColor, spriteId, thermalCapacity, unit, unitSet, viscosity
-
Constructor Summary
ConstructorDescriptionWeightedFluidKey
(FluidKey.FluidKeyBuilder builder, Class<T> valueClass, T defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionwithAmount
(int amount) Deprecated, for removal: This API element is subject to removal in a future version.withAmount
(FluidAmount amount) withAmount
(T value, int amount) Deprecated, for removal: This API element is subject to removal in a future version.abstract WeightedFluidVolume<T>
withAmount
(T value, FluidAmount amount) Methods inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidKey
addFullTooltip, addTooltipExtras, addTooltipExtras, addTooltipProperties, addTooltipProperties, addTooltipTemperature, createFromMcBuffer, equals, forceRegisterProperty, fromJson, fromMcBuffer, fromTag, fromWorld, getFullTooltip, getFullTooltip, getProperties, getRawFluid, getTemperature, hashCode, isEmpty, readVolume, readVolume, readVolume, register, toJson, toJson, toMcBuffer, toString, toTag, toTag, tryRegisterProperty
-
Field Details
-
valueClass
-
defaultValue
-
-
Constructor Details
-
WeightedFluidKey
-
-
Method Details
-
withAmount
- Overrides:
withAmount
in classFluidKey
-
withAmount
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
withAmount
in classFluidKey
-
withAmount
-
withAmount
@Deprecated(since="0.6.4", forRemoval=true) public WeightedFluidVolume<T> withAmount(T value, int amount) Deprecated, for removal: This API element is subject to removal in a future version.
-