Class EntityData

java.lang.Object
ru.cwcode.tkach.config.paper.data.entity.EntityData

public class EntityData extends Object
  • Field Details

    • name

      protected Message name
    • entityType

      protected org.bukkit.entity.EntityType entityType
    • attributes

      protected Map<org.bukkit.attribute.Attribute,Double> attributes
    • equipment

      protected Map<org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack> equipment
    • spawnReason

      protected org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason
    • properties

      protected Map<String,Object> properties
  • Constructor Details

    • EntityData

      public EntityData()
  • Method Details

    • spawn

      public org.bukkit.entity.LivingEntity spawn(org.bukkit.Location location)
    • getName

      public Message getName()
    • setName

      public void setName(Message name)
    • getEntityType

      public org.bukkit.entity.EntityType getEntityType()
    • setEntityType

      public void setEntityType(org.bukkit.entity.EntityType entityType)
    • getAttributes

      public Map<org.bukkit.attribute.Attribute,Double> getAttributes()
    • setAttributes

      public void setAttributes(Map<org.bukkit.attribute.Attribute,Double> attributes)
    • getEquipment

      public Map<org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack> getEquipment()
    • setEquipment

      public void setEquipment(Map<org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack> equipment)
    • getSpawnReason

      public org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason getSpawnReason()
    • setSpawnReason

      public void setSpawnReason(org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason)
    • getProperties

      public Map<String,Object> getProperties()
    • setProperties

      public void setProperties(Map<String,Object> properties)