VoxeLibre/mods/CORE/mcl_oxidation
PrairieWind 75e4000b30 Fix the scraped variants of certain waxed copper blocks
Also fix some wording in the oxidation api documentation
2023-06-02 20:28:54 +00:00
..
init.lua Fix a few crashes, make the abm work, and revive the wax off advancement 2023-06-02 20:28:54 +00:00
mod.conf Add Oxidization API 2023-06-02 20:28:54 +00:00
README.md Fix the scraped variants of certain waxed copper blocks 2023-06-02 20:28:54 +00:00

Oxidization API for MineClone 2

This mods adds the oxidization api, so that modders can easily use the same features that copper uses.

API

To take advantage of the actual oxidization, put oxidizable = 1 into the list of groups for the oxidizable node. You would also need to put _mcl_oxidized_variant = itemstring of node this node will oxidize into into the node definition. For example, a copper block oxidizes into exposed copper, so the defintion would be _mcl_oxidized_variant = "mcl_copper:block_exposed".

To utilize the ability to wax the block for protection from oxidization, put mcl_waxed_variant = item string of waxed variant of node into the node definition table. For example, Copper Blocks have the definition arguement of _mcl_waxed_variant = "mcl_copper:waxed_block".

For waxed nodes, scraping is easy. Start by putting waxed = 1 into the list of groups of the waxed node. Next put _mcl_stripped_variant = item string of the unwaxed variant of the node into the defintion table. Wxaed Copper Blocks can be scrapped into normal Copper Blocks because of the definition _mcl_stripped_variant = "mcl_copper:block".