CraftTweaker - yeelp/Scaling-Feast GitHub Wiki
A short form reference page.
You can access ScalingFeast stats with CraftTweaker using the sfStats ZenGetter on an IPlayer
What can you do with it?
You can access (ZenGetters):
unmodifiedMaxHunger: max hunger before modificationsmaxHunger: max hunger after modificationsbloatedHungerAmount: Bloated hunger the player has
You can alter (ZenSetters):
unmodifiedMaxHungerbloatedHungerAmount
Some additional ZenMethods:
getModifier(String): returns anSFModifiercorresponding to the String id for a player's max hunger, if it exists. May be null.setModifier(String, SFModifier)sets a modifier with the String as it's idsetModifier(String, float, byte)a way to set a modifier without needing anSFModifier. The byte represents the operation type and MUST be either 0, 1, or 2. Anything else throws an exception. the float is the amount applied in the operation.
An SFModifier has the following fields:
op: the operation. A byte that is either 0, 1 or 2. (Has ZenGetter)value: the value, as a float. (Has ZenGetter and ZenSetter)