Class SimpleFluidVolume
java.lang.Object
alexiil.mc.lib.attributes.fluid.volume.FluidVolume
alexiil.mc.lib.attributes.fluid.volume.SimpleFluidVolume
public class SimpleFluidVolume extends FluidVolume
Simple implementation of a
FluidVolume
that doesn't do anything special.-
Field Summary
Fields inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidVolume
BASE_UNIT, BOTTLE, BUCKET, DESERIALIZER, fluidKey
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleFluidVolume(SimpleFluidKey key, int amount)
Deprecated.protected
SimpleFluidVolume(SimpleFluidKey key, FluidAmount amount)
protected
SimpleFluidVolume(SimpleFluidKey key, com.google.gson.JsonObject json)
protected
SimpleFluidVolume(SimpleFluidKey key, net.minecraft.nbt.CompoundTag tag)
-
Method Summary
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, getFluidKey, getFullTooltip, getFullTooltip, getFullTooltip, getName, getProperty, getRawAmount, getRawAmount_F, getRawFluid, 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