-
Notifications
You must be signed in to change notification settings - Fork 10
HexHelper
youyihj edited this page Oct 12, 2020
·
4 revisions
HexHelper can interconvert of hexadecimal strings and decimal integers
You'd better import the package to avoid errors and write script easier.
import mods.zenutils.HexHelper;
// String toHexString(int i) DEC => HEX
// int toDecInteger(String Hex) HEX => DEC
HexHelper.toDecInteger("ABCDEF"); // return 11259375
HexHelper.toHexString(114514); // return "1bf52"
- 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