Enum Class FluidReaction.Outcome

java.lang.Object
java.lang.Enum<FluidReaction.Outcome>
fr.robie.machineengine.api.resource.fluid.FluidReaction.Outcome
All Implemented Interfaces:
Serializable, Comparable<FluidReaction.Outcome>, Constable
Enclosing interface:
FluidReaction

public static enum FluidReaction.Outcome extends Enum<FluidReaction.Outcome>
  • Enum Constant Details

    • FLOW

      public static final FluidReaction.Outcome FLOW
      The incoming fluid flows in (it replaces what was there).
    • STOP

      public static final FluidReaction.Outcome STOP
      The incoming fluid stops; the reaction may have changed the block itself.
  • Method Details

    • values

      public static FluidReaction.Outcome[] 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 FluidReaction.Outcome 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