IEntityXp
Link to ientityxp
Represents an XP Orb in the world.
导入相关包
Link to 导入相关包
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.entity.IEntityXp;
Extending
Link to extending-ientity
IEntityXp extends IEntity. That means all functions available to IEntities also are available to IEntityXp.
ZenGetters
Link to zengetters
ZenGetter | 返回值类型 |
---|---|
ZenGetter xp (经验值) | 返回值类型 float |