Enum Class PollidisiacBlockEntity.Mode

java.lang.Object
java.lang.Enum<PollidisiacBlockEntity.Mode>
vazkii.botania.common.block.flower.functional.PollidisiacBlockEntity.Mode
All Implemented Interfaces:
Serializable, Comparable<PollidisiacBlockEntity.Mode>, Constable, Predicate<net.minecraft.world.entity.animal.Animal>, net.minecraft.util.StringRepresentable
Enclosing class:
PollidisiacBlockEntity

public static enum PollidisiacBlockEntity.Mode extends Enum<PollidisiacBlockEntity.Mode> implements net.minecraft.util.StringRepresentable, Predicate<net.minecraft.world.entity.animal.Animal>
  • Enum Constant Details

  • Method Details

    • values

      public static PollidisiacBlockEntity.Mode[] 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 PollidisiacBlockEntity.Mode 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
    • forName

      public static PollidisiacBlockEntity.Mode forName(String name)
    • test

      public boolean test(net.minecraft.world.entity.animal.Animal animal)
      Specified by:
      test in interface Predicate<net.minecraft.world.entity.animal.Animal>
    • getSerializedName

      @NotNull public @NotNull String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable
    • getNextMode

      @NotNull public @NotNull PollidisiacBlockEntity.Mode getNextMode()