Class EntityData
java.lang.Object
ru.cwcode.tkach.config.paper.data.entity.EntityData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.EntityTypeMap<org.bukkit.inventory.EquipmentSlot,org.bukkit.inventory.ItemStack> getName()org.bukkit.event.entity.CreatureSpawnEvent.SpawnReasonvoidsetAttributes(Map<org.bukkit.attribute.Attribute, Double> attributes) voidsetEntityType(org.bukkit.entity.EntityType entityType) voidsetEquipment(Map<org.bukkit.inventory.EquipmentSlot, org.bukkit.inventory.ItemStack> equipment) voidvoidsetProperties(Map<String, Object> properties) voidsetSpawnReason(org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason) org.bukkit.entity.LivingEntityspawn(org.bukkit.Location location)
-
Field Details
-
name
-
entityType
protected org.bukkit.entity.EntityType entityType -
attributes
-
equipment
-
spawnReason
protected org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason spawnReason -
properties
-
-
Constructor Details
-
EntityData
public EntityData()
-
-
Method Details
-
spawn
public org.bukkit.entity.LivingEntity spawn(org.bukkit.Location location) -
getName
-
setName
-
getEntityType
public org.bukkit.entity.EntityType getEntityType() -
setEntityType
public void setEntityType(org.bukkit.entity.EntityType entityType) -
getAttributes
-
setAttributes
-
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
-
setProperties
-