-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commands
Arguments: <target> <food group> <value>
Example: /diet add Player1 proteins 0.35
Adds the specified value
as a percentage to food group
to target
.
Note: value
goes from 0-1, 0 being 0% and 1 being 100%.
Arguments: <target> <food group> <value>
Example: /diet subtract Player1 proteins 0.35
Subtracts the specified value
as a percentage from food group
from target
.
Note: value
goes from 0-1, 0 being 0% and 1 being 100%.
Arguments: <target> <food group> <value>
Example: /diet set Player1 proteins 0.35
Sets food group
of target
to the specific value
as a percentage.
Note: value
goes from 0-1, 0 being 0% and 1 being 100%.
Arguments: <target> <food group>
Example: /diet get Player1 proteins
Gets the percentage value of food group
of target
.
Arguments: <target>
Example: /diet reset Player1
Resets all food groups of target
to the default values from the configuration.
Arguments: <target>
Example: /diet pause Player1
Pauses the diet system for target
. They will no longer receive dietary effects nor gain/lose any diet values and their GUI will be grayed out.
Arguments: <target>
Example: /diet resume Player1
Resumes the diet system for target
. They will receive dietary effects again and begin to gain/lose diet values.
All export commands will export a diet.csv
file to the logs
folder.
Arguments: <food group>
Example: /diet export group proteins
Exports a list of foods and their diet values (when eaten by the command sender) from the specified food group
.
Arguments: <mod id>
Example: /diet export mod_id minecraft
Exports a list of foods and their diet values (when eaten by the command sender) from the mod with the specified mod id
.
Arguments: None
Example: /diet export uncategorized
Exports a list of all foods that do not have any diet values.