Difference between revisions of "Block list"
From AAGRINDER wiki
Jump to navigationJump to search (Remove the list of blocks, add guidelines for how to figure it out on your own) |
(fix file name where block properties are specified) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
To learn about existing blocks in the newest version of AAGRINDER, follow these steps: | To learn about existing blocks in the newest version of AAGRINDER, follow these steps: | ||
− | * In the file [https://gitlab.com/MRAAGH/aagrinder/-/ | + | * In the file [https://gitlab.com/MRAAGH/aagrinder/-/blob/main/shared/sprites.js sprites.js] you can find a list of all blocks that can be displayed. |
− | * In the file [https://gitlab.com/MRAAGH/aagrinder/-/ | + | * In the file [https://gitlab.com/MRAAGH/aagrinder/-/blob/main/shared/inventory.js inventory.js] you can find a list of all items and their names, as well as the conversion functions '''item2block''' and '''block2item'''. |
− | * In the file [https://gitlab.com/MRAAGH/aagrinder/-/ | + | * In the file [https://gitlab.com/MRAAGH/aagrinder/-/blob/main/shared/blockprops.js blockprops.js] you can find the function '''isEnterable''' which determines which blocks the player can walk through, '''isUndigabble''' which determines which blocks can not normally be broken, and more. |
Latest revision as of 12:27, 15 May 2024
The block list has been removed from this wiki because it changes too often for the wiki to keep up.
To learn about existing blocks in the newest version of AAGRINDER, follow these steps:
- In the file sprites.js you can find a list of all blocks that can be displayed.
- In the file inventory.js you can find a list of all items and their names, as well as the conversion functions item2block and block2item.
- In the file blockprops.js you can find the function isEnterable which determines which blocks the player can walk through, isUndigabble which determines which blocks can not normally be broken, and more.