Object AttributeSystemAPIImpl
-
- All Implemented Interfaces:
-
com.skillw.attsystem.api.AttributeSystemAPI,com.skillw.pouvoir.api.manager.Manager,com.skillw.pouvoir.api.plugin.map.component.Keyable,com.skillw.pouvoir.api.plugin.map.component.Registrable,kotlin.Comparable
public class AttributeSystemAPIImpl implements AttributeSystemAPI
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringkeyprivate final Integerpriorityprivate final AttributeSystemsubPouvoirpublic final static AttributeSystemAPIImplINSTANCE
-
Method Summary
Modifier and Type Method Description Unitupdate(LivingEntity entity)EntityUpdate更新实体(装备 属性 原版属性实现)建议异步调用 Unitremove(LivingEntity entity)Remove删除一个实体的所有AS数据 Unitremove(UUID uuid)Remove删除一个实体的所有AS数据 StringgetKey()IntegergetPriority()AttributeSystemgetSubPouvoir()-
-
Method Detail
-
update
Unit update(LivingEntity entity)
EntityUpdate
更新实体(装备 属性 原版属性实现)
建议异步调用
- Parameters:
entity- 实体
-
remove
Unit remove(LivingEntity entity)
Remove
删除一个实体的所有AS数据
- Parameters:
entity- 实体
-
getPriority
Integer getPriority()
-
getSubPouvoir
AttributeSystem getSubPouvoir()
-
-
-
-