-
Notifications
You must be signed in to change notification settings - Fork 10
CrTUUID
youyihj edited this page May 2, 2021
·
5 revisions
CrTUUID
exposes java.util.UUID
Java Class to ZenScript.
You'd better import the package to avoid errors and write script easier.
import mods.zenutils.UUID;
- Using the
UUID.randomUUID()
to call a random UUID - Using the
UUID.fromString(String name)
to call a UUID according to String - Using the
entityObj.getUUIDObject()
to get unique ID of entity.
long getMostSignificantBits()
long getLeastSignificantBits()
String asString()
You can use ==
to check if two CrTUUID objects are equal and use >
, <
and other compare operators to compare them.
- 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