Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

IEntityXp

Represents an XP Orb in the world.

Importing the package

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 IEntity

IEntityXp extends IEntity. That means all functions available to IEntities also are available to IEntityXp.

ZenGetters

ZenGetterReturn Type
ZenGetter
xp
Return Type
float