From 9d3772a035db357295d29d6b6e9e187bba1f6477 Mon Sep 17 00:00:00 2001 From: Keegan Perry Date: Thu, 14 Sep 2023 23:04:32 -0400 Subject: [PATCH 1/3] update docs --- docs/effects/all-effects/give_food.md | 3 ++- docs/effects/all-effects/give_saturation.md | 13 +++++++++++++ docs/effects/all-effects/set_food.md | 12 ++++++++++++ docs/effects/all-effects/set_saturation.md | 12 ++++++++++++ 4 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 docs/effects/all-effects/give_saturation.md create mode 100644 docs/effects/all-effects/set_food.md create mode 100644 docs/effects/all-effects/set_saturation.md diff --git a/docs/effects/all-effects/give_food.md b/docs/effects/all-effects/give_food.md index d1f8de8fa7..e123084693 100644 --- a/docs/effects/all-effects/give_food.md +++ b/docs/effects/all-effects/give_food.md @@ -8,5 +8,6 @@ Gives the player food - id: give_food args: amount: 2 # The amount of food to give/take (allows negative values) + respect-vanilla-limits: true # (Optional, defaults to false) if the added food should respect vanilla minimum food (0) and maximum food (20) ...other config (eg triggers, filters, mutators, etc) -``` \ No newline at end of file +``` diff --git a/docs/effects/all-effects/give_saturation.md b/docs/effects/all-effects/give_saturation.md new file mode 100644 index 0000000000..508f458dea --- /dev/null +++ b/docs/effects/all-effects/give_saturation.md @@ -0,0 +1,13 @@ +# `give_saturation` +#### Triggered Effect + +Gives the player saturation + +# Example Config +```yaml +- id: give_saturation + args: + amount: 1.0 # The amount of saturation to give/take (allows negative values) + respect-vanilla-limits: true # (Optional, defaults to false) if the added saturation should respect vanilla minimum saturation (0.0) and maximum saturation (20.0 or player's current food level, whichever is lower) + ...other config (eg triggers, filters, mutators, etc) +``` \ No newline at end of file diff --git a/docs/effects/all-effects/set_food.md b/docs/effects/all-effects/set_food.md new file mode 100644 index 0000000000..4905170c1e --- /dev/null +++ b/docs/effects/all-effects/set_food.md @@ -0,0 +1,12 @@ +# `set_food` +#### Triggered Effect + +Sets the player's food + +# Example Config +```yaml +- id: set_food + args: + amount: 1 # The food level to set + ...other config (eg triggers, filters, mutators, etc) +``` \ No newline at end of file diff --git a/docs/effects/all-effects/set_saturation.md b/docs/effects/all-effects/set_saturation.md new file mode 100644 index 0000000000..7d3c4573b1 --- /dev/null +++ b/docs/effects/all-effects/set_saturation.md @@ -0,0 +1,12 @@ +# `set_saturation` +#### Triggered Effect + +Sets the player's saturation + +# Example Config +```yaml +- id: set_saturation + args: + amount: 10.0 # The saturation level to set + ...other config (eg triggers, filters, mutators, etc) +``` \ No newline at end of file From 2514605fa04e1b414d7f5117dc5f8424ba1a49d4 Mon Sep 17 00:00:00 2001 From: Keegan Perry Date: Thu, 14 Sep 2023 23:05:31 -0400 Subject: [PATCH 2/3] remove extra line --- docs/effects/all-effects/give_food.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/effects/all-effects/give_food.md b/docs/effects/all-effects/give_food.md index e123084693..9a9bddc382 100644 --- a/docs/effects/all-effects/give_food.md +++ b/docs/effects/all-effects/give_food.md @@ -10,4 +10,4 @@ Gives the player food amount: 2 # The amount of food to give/take (allows negative values) respect-vanilla-limits: true # (Optional, defaults to false) if the added food should respect vanilla minimum food (0) and maximum food (20) ...other config (eg triggers, filters, mutators, etc) -``` +``` \ No newline at end of file From b26f24c5f4c2f30d6346fc6d7851f0893aebdaa4 Mon Sep 17 00:00:00 2001 From: Keegan Perry Date: Fri, 15 Sep 2023 07:11:16 -0400 Subject: [PATCH 3/3] change permanent to triggered --- docs/effects/all-effects/item_durability_multiplier.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/effects/all-effects/item_durability_multiplier.md b/docs/effects/all-effects/item_durability_multiplier.md index 16c56659fa..61ab063e0b 100644 --- a/docs/effects/all-effects/item_durability_multiplier.md +++ b/docs/effects/all-effects/item_durability_multiplier.md @@ -1,5 +1,5 @@ # `item_durability_multiplier` -#### Permanent Effect +#### Triggered Effect Multiplies item durability (only works if holders are items, e.g. in EcoEnchants, EcoItems, etc.) @@ -10,4 +10,5 @@ Item durability cannot actually be changed, so this functions like unbreaking wh - id: item_durability_multiplier args: multiplier: 1.5 # The multiplier for the durability + ...other config (eg triggers, filters, mutators, etc) ```