Class EntityType

java.lang.Object
ch.njol.skript.entity.EntityType
All Implemented Interfaces:
YggdrasilSerializable, Cloneable
Direct Known Subclasses:
EntityType

@Deprecated(forRemoval=true, since="2.17") public abstract class EntityType extends Object implements Cloneable, YggdrasilSerializable
Deprecated, for removal: This API element is subject to removal in a future version.
Use EntityType instead.
  • Nested Class Summary

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Deprecated, for removal: This API element is subject to removal in a future version.
    Only used for deserialisation
     
    EntityType(EntityData<?> data, int amount)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
     
    EntityType(Class<? extends org.bukkit.entity.Entity> entityClass, int amount)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
     
    EntityType(org.bukkit.entity.Entity entity)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    equals(@Nullable Object obj)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    isInstance(org.bukkit.entity.Entity entity)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @Nullable EntityType
    parse(String string)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    toString(int flags)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • amount

      public int amount
      Deprecated, for removal: This API element is subject to removal in a future version.
    • data

      public EntityData<?> data
      Deprecated, for removal: This API element is subject to removal in a future version.
    • newEntityType

      public EntityType newEntityType
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • EntityType

      protected EntityType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Only used for deserialisation
    • EntityType

      public EntityType(EntityData<?> data, int amount)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EntityType

      public EntityType(Class<? extends org.bukkit.entity.Entity> entityClass, int amount)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EntityType

      public EntityType(org.bukkit.entity.Entity entity)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EntityType

      public EntityType(EntityType other)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • parse

      @Nullable public static @Nullable EntityType parse(String string)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isInstance

      public boolean isInstance(org.bukkit.entity.Entity entity)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • toString

      public String toString(int flags)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAmount

      public int getAmount()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • sameType

      public boolean sameType(EntityType other)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clone

      public EntityType clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable @Nullable Object obj)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object