-
Notifications
You must be signed in to change notification settings - Fork 10
TileEntityInGame
youyihj edited this page Nov 15, 2020
·
3 revisions
@Since 1.4.0
The class represents the tile entity in actual game.
import mods.zenutils.cotx.TileEntityInGame;
name | type | has getter | has setter | description |
---|---|---|---|---|
id | int | ✔ | ✘ | The TileEntity's id, determined by the parameter of ExpandVanillaFactory#createActualTileEntity
|
data | IData | ✔ | ✔ | Its custom data |
- updateCustomData(IData data) - update custom data of the tile entity
You can call worldObj.getCustomTileEntity(IBlockPos pos)
to get a TileEntityInGame object. If there is no tile entity created by ZenUtils at the position, it will return null.
- 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