Enum Class NorthstarTags.NorthstarEntityTags

java.lang.Object
java.lang.Enum<NorthstarTags.NorthstarEntityTags>
com.lightning.northstar.content.NorthstarTags.NorthstarEntityTags
All Implemented Interfaces:
Tags.Tag<net.minecraft.world.entity.EntityType<?>>, Serializable, Comparable<NorthstarTags.NorthstarEntityTags>, Constable
Enclosing class:
NorthstarTags

public static enum NorthstarTags.NorthstarEntityTags extends Enum<NorthstarTags.NorthstarEntityTags> implements Tags.Tag<net.minecraft.world.entity.EntityType<?>>
  • Enum Constant Details

  • Field Details

    • tag

      public final net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag
  • Method Details

    • values

      public static NorthstarTags.NorthstarEntityTags[] 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 NorthstarTags.NorthstarEntityTags 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
    • tag

      public net.minecraft.tags.TagKey<net.minecraft.world.entity.EntityType<?>> tag()
      Specified by:
      tag in interface Tags.Tag<net.minecraft.world.entity.EntityType<?>>
    • matches

      public boolean matches(net.minecraft.world.entity.Entity entity)