Enum Class FluidVolumeUtil.ItemContainerStatus

java.lang.Object
java.lang.Enum<FluidVolumeUtil.ItemContainerStatus>
alexiil.mc.lib.attributes.fluid.FluidVolumeUtil.ItemContainerStatus
All Implemented Interfaces:
Serializable, Comparable<FluidVolumeUtil.ItemContainerStatus>, Constable
Enclosing class:
FluidVolumeUtil

public static enum FluidVolumeUtil.ItemContainerStatus extends Enum<FluidVolumeUtil.ItemContainerStatus>
  • Enum Constant Details

    • INVALID

      public static final FluidVolumeUtil.ItemContainerStatus INVALID
      Indicates that the given ItemStack cannot have fluid inserted/extracted to/from it.
    • NOT_CHECKED

      public static final FluidVolumeUtil.ItemContainerStatus NOT_CHECKED
      Indicates that we didn't check to see if the given ItemStack could have fluid inserted/extracted to/from it. This is only returned if the operation didn't need to be performed, either because the previous operation succeeded, or the tank passed didn't have an extractable/insertable object.
    • VALID

      public static final FluidVolumeUtil.ItemContainerStatus VALID
      Indicates that the given ItemStack could have fluid inserted/extracted to/from it.
  • Method Details

    • values

      public static FluidVolumeUtil.ItemContainerStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FluidVolumeUtil.ItemContainerStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null