Contributing
There are many ways in which anyone can contribute to the wiki. Look at the repository on Github!
Confirming existing information
Simply double, triple or quintupple checking that all information presented on the wiki is factually correct is a huge help. Small oversights and errors can slip through easily, so people just making sure everything's right is a huge help! If you find anything that's wrong, either fix it yourself by making a Pull Request or filing an issue on the GitHub so someone else can fix it.
Fixing issues
If you find an issue on GitHub that strikes your fancy, or you think you can resolve, please do so!
Pull Request
Making a pull request is relatively straightforward. Just fork the repo, make the changes you want to, and then just create a pull request on GitHub. This is even easier with GitHub Desktop.
Development
You'll need to install bun (or another package manager if you prefer)
After cloning the repo you can test the website with
bun devIt'll install whatever dependencies you need automatically.
If you want to make a static build for hosting, run
bun run buildThis can be previewed with
bun previewStyle Guide
Considerations
The following is a list of stylistic and formal considerations that should be taken into account when creating a page, going from most to least important.
- The page should be readable in a non-markdown text editor
- The page should not rely on external links, and be entirely usable without them
- The page should not rely on any online-only elements and be usable as a downloaded file too (either
.mdor.html) - The page should not rely on JavaScript, and be entirely usable without it
- The page should be readable in a text-only browser like
lynxor similar
Values
- All values are always
monospaced - Bytes, Shorts and Integers are not differentiated (
125,6723,66241267) - Floats have a lower-case
fon their end (0.53f) - Doubles do not have a lower-case
f(545.42) - Booleans are either
trueorfalse - Strings are also monospaced (
Test String) - There shall never be any quotes around Strings
- String8 and String16s are not differentiated, mainly due to how rarely String8 is used
- If a String is empty, the exact contents between the following quoted block can be used, "(EMPTY)". It should NOT be monospaced, as that could be mistaken for a string with
(EMPTY)as its contents. - Unless necessary for the sake of accuracy (i.e. world generation), any floating-point numbers should only be limited to 2 decimal places (
15.24)
Additions
- If a block or item ID is used, the designated English (US) name must also be included in brackets (
276(Diamond Sword)) - The same applies to any numerical value with a different known meaning than the number itself (
1(Swing Arm))
Code blocks
- Code blocks can be done in whatever language the author prefers, with some exceptions, as long as the underlying algorithm can be understood
- Languages that are non-typed should not be used for code where specific bitwidths or types are important
- Code blocks should not rely on libraries that magically handle most of the hard work or obfuscate what the code actually does. Math helper libraries are permitted
- Variables should be reasonably and readably named, avoid single-character names unless its for something unimportant (like an iterator)
- A specific case is not enforced
- Variables that require a specific bitwidth should use a type that confirms this bitwidth, i.e. instead of
int, which can be 16-bit or 32-bit depending on ones system or compiler, it should beint32_tori32, to ensure it's a signed 32-bit integer