VoxeLibre/mods/ITEMS/mcl_stonecutter/README.md

32 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

mcl_stonecutter
===============
Adds the stonecutter block. Used to cut stone like materials into stairs, slabs, etc. Also used as the Stone Mason Villager's jobsite.
2023-08-08 08:57:49 +02:00
### Adding recipes
2023-11-13 21:49:57 +01:00
* To add a new custom stonecutter recipe, use `mcl_stonecutter.register_recipe(input, output, count)`
* `input` must be a name of a registered item
* `output` must also be a name of a registered item
* `count` should be a number denoting output count, this defaults to 1 for `nil` and invalid values
* a number with a fraction passed as count will be rounded down
* Stairs, slabs and walls get their recipes registered automatically
* Recipe chains are followed automatically, so any recipes taking `output` of another recipe as input will also be taking `input` of that recipe as their input
2023-08-08 08:57:49 +02:00
2023-11-19 01:42:12 +01:00
### Displaying the Stonecutter menu
* To display the stonecutter formspec to a player use `mcl_stonecutter.show_stonecutter_form(player)`
License of code
---------------
2024-05-02 10:57:10 +02:00
See the main VoxeLibre README.md file.
2023-11-19 01:42:12 +01:00
Author: PrairieWind, ChrisPHP, cora, Herowl, AFCMS
License of media
----------------
mcl_stonecutter_bottom.png
mcl_stonecutter_side.png
mcl_stonecutter_top.png
mcl_stonecutter_saw.png
License: CC0 1.0 Universal (CC0 1.0)
Author: RandomLegoBrick