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.
  • Constructor Details

    • SimpleFluidVolume

      protected SimpleFluidVolume(SimpleFluidKey key, FluidAmount amount)
    • SimpleFluidVolume

      @Deprecated(since="0.6.4", forRemoval=true) protected SimpleFluidVolume(SimpleFluidKey key, int amount)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SimpleFluidVolume

      protected SimpleFluidVolume(SimpleFluidKey key, net.minecraft.nbt.NbtCompound tag)
    • SimpleFluidVolume

      protected SimpleFluidVolume(SimpleFluidKey key, com.google.gson.JsonObject json)