Skip to content

Commit

Permalink
README: Style.AsAtComments added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertie2011 authored Jan 20, 2021
1 parent 2e48458 commit d6013f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ The version identifier 'pack_format' in pack.mcmeta has to match the number set
</details>

## Style.dll
<details><summary><b>Style.AsAtComments</b><blockquote>A function must start with comments describing the 'as/at' context.</blockquote></summary>
In each function a certain context is assumed, which includes the meaning of @s, @p and ~ ~ ~. Writing down that context at the top of the function might save some time debugging and help out if the function is revisited in the future. Spacing within the lines is not checked.
</details>
<details><summary><b>Style.UninstallFunction</b><blockquote>There must be an uninstall function.</blockquote></summary>
Providing an uninstall function will help remove traces and leave a clean world behind before the data pack is removed.
</details>
Expand Down

0 comments on commit d6013f0

Please sign in to comment.