Stat getter
A stat getter representation, used by statbars and holosphere sorting to extract different types of stats for a module, improvement or an an entire item. Doesn't take care of the actual display of the stat.
clamp stat getter
A stat getter which clamps the value of a stat to a minimum and maximum value.
Format:And stat getter
A stat getter that "should show" when all given stat getters also "should show". Typically used in boolean cases, like when determining if an indicator should show. Returns the value of the first getter if shown, otherwise 0.
Format:Or stat getter
A stat getter that "should show" if any of the given stat getters "should show". Typically used in boolean cases, like when determining if an indicator should show. Returns the value of the first getter that "should show", or 0 if none "should show".
Format:Attribute stat getter
A stat getter that returns the value of the given attribute.
Format:Identifier for an attribute to get the value of. A list of vanilla attributes can be found here: https://minecraft.wiki/w/Attribute, tetra attributes can be found on the tetra wiki.
Set to true to ignore the base value of the attribute. Many vanilla attributes has a base value, e.g. attack damage has a base value of 2.0. This flag is good to set for showing attributes for a part of an item, like in the holosphere.
Set to true to ignore bonuses from item effects, e.g. the speed bonus from the counterweight effect.
Effect level stat getter
A stat getter that returns level of the given effect.
Format:Identifier for the item effect to get the level of.
If true, the bar using the getter will show even if the value is negative.
Effect efficiency stat getter
A stat getter that returns efficiency of the given effect.
Format:Identifier for the item effect to get the efficiency of.
If true, the bar using the getter will show even if the value is negative.
Enchantment stat getter
A stat getter that returns the level of the given enchantment
Format:Is item stat getter
A stat getter that returns 1 if the item matches any of the items in the given list.
Format: