ItemEvent

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.neoforge.api.event.item.ItemEvent;

Extends

ItemEvent extends EntityEvent.

Members

Getter
script.zs
// ItemEvent.entity as ItemEntity
myItemEvent.entity

Return Type: ItemEntity