-
Notifications
You must be signed in to change notification settings - Fork 10
EnergyItem
youyihj edited this page Oct 12, 2020
·
2 revisions
ZenUtils allow ContentTweaker to add item with RF!
You'd better import the package to avoid errors and write script easier.
import mods.zenutils.cotx.EnergyItem;
You can simply use VanillaFactory.
VanillaFactory.createEnergyItem(String unlocalizedName, int capacity, int maxReceive, int maxExtract)
EnergyItem extends ExpandItem. That means all Methods and ZenProperties that are available for Items are also available for energy items!
It doesn't have special ZenProperties own.
- GlobalFunctions
- ScriptReloading
- SuppressErrorPreprocessor
- HardFailPreprocessor
- OrderlyMap
- IData Deep Update
- Template String
- Native Method Access
- Mixin
- CrTI18n
- CrTUUID
- CrTItemHandler
- CrTLiquidHandler
- ILiquidTankProperties
- StringList
- HexHelper
- StaticString
- Catenation
- PersistedCatenation
- PlayerStat
- IStatFormatter
- GameRuleHelper
- ZenCommand
- ZenCommandTree
- ZenUtilsCommandSender
- IGetCommandUsage
- ICommandExecute
- IGetTabCompletion
- CommandUtils