Class ZombieVillagerData

java.lang.Object
ch.njol.skript.entity.EntityData<org.bukkit.entity.ZombieVillager>
ch.njol.skript.entity.ZombieVillagerData
All Implemented Interfaces:
SyntaxElement, YggdrasilSerializable, YggdrasilSerializable.YggdrasilExtendedSerializable

public class ZombieVillagerData extends EntityData<org.bukkit.entity.ZombieVillager>
  • Constructor Details

    • ZombieVillagerData

      public ZombieVillagerData()
    • ZombieVillagerData

      public ZombieVillagerData(org.bukkit.entity.Villager.Profession prof)
  • Method Details

    • init

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

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

      protected boolean deserialize(String s)
      Overrides:
      deserialize in class EntityData<org.bukkit.entity.ZombieVillager>
    • set

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

      protected boolean match(org.bukkit.entity.ZombieVillager e)
      Specified by:
      match in class EntityData<org.bukkit.entity.ZombieVillager>
    • getType

      public Class<? extends org.bukkit.entity.ZombieVillager> getType()
      Specified by:
      getType in class EntityData<org.bukkit.entity.ZombieVillager>
    • equals_i

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

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

      public boolean isSupertypeOf(EntityData<?> e)
      Specified by:
      isSupertypeOf in class EntityData<org.bukkit.entity.ZombieVillager>
    • 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.ZombieVillager>
      Returns:
      The supertype of this entity data. Must not be null.