Class NormalFluidVolume
java.lang.Object
alexiil.mc.lib.attributes.fluid.volume.FluidVolume
alexiil.mc.lib.attributes.fluid.volume.NormalFluidVolume
Deprecated, for removal: This API element is subject to removal in a future version.
ItemStack equivalent for fluids. Instances must be constructed via
 FluidKeys.get(Fluid).withAmount(FluidAmount).- 
Field Summary
Fields inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidVolume
BASE_UNIT, BOTTLE, BUCKET, DESERIALIZER, fluidKey - 
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.final net.minecraft.fluid.FluidDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidVolume
addFullTooltip, addFullTooltip, addFullTooltip, addTooltipExtras, addTooltipNameAmount, addTooltipProperties, addTooltipTemperature, amount, areEqualExceptAmounts, areFullyEqual, canMerge, copy, copy0, create, create, create, equals, fromJson, fromMcBuffer, fromMcBufferInternal, fromTag, getAmount, getAmount_F, getFlowingSprite, getFullTooltip, getFullTooltip, getFullTooltip, getName, getProperty, getRawAmount, getRawAmount_F, getRenderColor, getRenderer, getSprite, getStillSprite, getTooltipText, hashCode, isEmpty, localizeAmount, localizeAmount, localizeInTank, localizeInTank, merge, merge, merge, merge, merge0, mergeInternal, mergeInto, mergeInto, mergeInto, multiplyAmount, parseAmount, render, renderGuiRect, setAmount, setAmount, setProperty, split, split, split, split0, toJson, toMcBuffer, toMcBufferInternal, toString, toTag, toTag, withAmount 
- 
Method Details
- 
getRawFluid
@Nonnull public final net.minecraft.fluid.Fluid getRawFluid()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
 getRawFluidin classFluidVolume- Returns:
 - The minecraft 
Fluidinstance that this contains, or null if this is based on something else (likePotion's). 
 - 
getFluidKey
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
 getFluidKeyin classFluidVolume- Returns:
 - The 
FluidKeyfor this volume. Subclasses may override this to use a return type for their key class. 
 
 - 
 
FluidKeycan map to a singleFluid, andSimpleFluidVolumehas a much better name than this.