Hytale Modding
Hytale Modding

NumberFieldFormat

NumberFieldFormat

Properties

NameTypeDescription
MaxDecimalPlacesIntegerSpecifies the maximum number of decimal numbers allowed. Use 0 for integers
StepDecimalSpecifies by how much the number will be incremented or decremented when using key controls
MinValueDecimalMinimum number that can be entered. Number cannot be smaller than this
MaxValueDecimalMaximum number that can be entered. Number cannot be bigger than this
DefaultValueDecimalThe default number
SuffixStringIf specified, a text suffix will be added after the number. Useful for percentages (100%) or other units (10px, 10€) The user can edit this suffix, however the suffix will be added back, if removed, when the element loses focus