Clamped(value, min, max) valueLevelBasedValueminnumbermaxnumber
Helpers that build a minecraft:level_based_value object, one for each of its types. Where a field takes one, write the helper's call; its
name is the type it makes. Click a type to see what it accepts.
LevelsSquared(added) addednumber Added to the result so that the result becomes square(level) + added.
Linear(base, per_level_above_first) basenumber Base value at level 1.
per_level_above_firstnumber Value increase per level above 1.
Lookup(values, fallback) valueslist of LevelBasedValue (at least 1) Indexed by level - 1 to apply, if present
fallbackLevelBasedValue Applied if the level is greater than the size of values.