Uses of Class
alexiil.mc.lib.attributes.fluid.volume.WeightedFluidKey
Package | Description |
---|---|
alexiil.mc.lib.attributes.fluid.volume |
-
Uses of WeightedFluidKey in alexiil.mc.lib.attributes.fluid.volume
Methods in alexiil.mc.lib.attributes.fluid.volume that return WeightedFluidKey Modifier and Type Method Description WeightedFluidKey<T>
WeightedFluidVolume. getFluidKey()
Constructors in alexiil.mc.lib.attributes.fluid.volume with parameters of type WeightedFluidKey Constructor Description WeightedFluidVolume(WeightedFluidKey<T> key, com.google.gson.JsonObject json, WeightedFluidVolume.WeightedJsonGetter<T> keyGetter)
Json deserialiser that assumes the values are complicated, and so need a more complex json element than just a string to deserialise.WeightedFluidVolume(WeightedFluidKey<T> key, com.google.gson.JsonObject json, WeightedFluidVolume.WeightedStringGetter<T> keyGetter)
Json deserialiser that assumes the values are simple and require just a string to deserialise.WeightedFluidVolume(WeightedFluidKey<T> key, net.minecraft.nbt.CompoundTag tag)
WeightedFluidVolume(WeightedFluidKey<T> key, T value, int amount)
Deprecated.WeightedFluidVolume(WeightedFluidKey<T> key, T value, FluidAmount amount)