Enum Class MultiAssembler.Results

java.lang.Object
java.lang.Enum<MultiAssembler.Results>
com.petrolpark.compat.create.core.block.multi.MultiAssembler.Results
All Implemented Interfaces:
MultiAssembler.Conversion, Serializable, Comparable<MultiAssembler.Results>, Constable
Enclosing class:
MultiAssembler<M extends IMulti<? super M>>

protected static enum MultiAssembler.Results extends Enum<MultiAssembler.Results> implements MultiAssembler.Conversion
  • Enum Constant Details

  • Field Details

    • failure

      public final boolean failure
  • Method Details

    • values

      public static MultiAssembler.Results[] 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 MultiAssembler.Results 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
    • cannot

      public boolean cannot()
      Specified by:
      cannot in interface MultiAssembler.Conversion
    • isInside

      public boolean isInside()
      Specified by:
      isInside in interface MultiAssembler.Conversion
    • optionalSide

      public Optional<net.minecraft.core.Direction> optionalSide()
      Specified by:
      optionalSide in interface MultiAssembler.Conversion