IEntityItem
Link to ientityitem
Represents an item stack 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.IEntityItem;
Extending
Link to extending-ientity
IEntityItem extends IEntity. That means all functions available to IEntities also are available to IEntityItem.
ZenGetters/Setters
Link to zengetterssetters
ZenGetter/ZenSetter | 类型 |
---|---|
ZenGetter/ZenSetter item | 类型 IItemstack |