Class CreeperData

All Implemented Interfaces:
SyntaxElement, YggdrasilSerializable, YggdrasilSerializable.YggdrasilExtendedSerializable

public class CreeperData extends EntityData<org.bukkit.entity.Creeper>
  • Constructor Details

    • CreeperData

      public CreeperData()
  • Method Details

    • init

      protected boolean init(Literal<?>[] exprs, int matchedPattern, SkriptParser.ParseResult parseResult)
      Specified by:
      init in class EntityData<org.bukkit.entity.Creeper>
    • init

      protected boolean init(@Nullable Class<? extends org.bukkit.entity.Creeper> c, @Nullable org.bukkit.entity.Creeper e)
      Specified by:
      init in class EntityData<org.bukkit.entity.Creeper>
      c - An entity's class, e.g. Player
      e - An actual entity, or null to get an entity data for an entity class
      Whether initialisation was successful
    • set

      public void set(org.bukkit.entity.Creeper c)
      Specified by:
      set in class EntityData<org.bukkit.entity.Creeper>
    • match

      public boolean match(org.bukkit.entity.Creeper entity)
      Specified by:
      match in class EntityData<org.bukkit.entity.Creeper>
    • getType

      public Class<org.bukkit.entity.Creeper> getType()
      Specified by:
      getType in class EntityData<org.bukkit.entity.Creeper>
    • hashCode_i

      protected int hashCode_i()
      Specified by:
      hashCode_i in class EntityData<org.bukkit.entity.Creeper>
    • equals_i

      protected boolean equals_i(EntityData<?> obj)
      Specified by:
      equals_i in class EntityData<org.bukkit.entity.Creeper>
    • deserialize

      protected boolean deserialize(String s)
      deserialize in class EntityData<org.bukkit.entity.Creeper>
    • isSupertypeOf

      public boolean isSupertypeOf(EntityData<?> e)
      Specified by:
      isSupertypeOf in class EntityData<org.bukkit.entity.Creeper>
    • getSuperType

      public EntityData getSuperType()
      Description copied from class: EntityData
      Returns the super type of this entity data, e.g. 'wolf' for 'angry wolf'.
      Specified by:
      getSuperType in class EntityData<org.bukkit.entity.Creeper>
      The supertype of this entity data. Must not be null.