Package io.artificial.enchantments.api.scaling
package io.artificial.enchantments.api.scaling
-
ClassDescriptionA scaling algorithm that returns a constant value regardless of level.A scaling algorithm that approaches a maximum value with diminishing returns.Exponential scaling algorithm: base * multiplier^(level - 1).Functional interface for calculating scaled values from enchantment levels.Linear scaling algorithm: base + (level - 1) * increment.Defines a parameterized scaling algorithm that can be registered and used to create
LevelScalinginstances.Immutable metadata for a registered scaling algorithm.Registry for named scaling algorithms.Stepped scaling algorithm with linear interpolation between defined levels.