Skip to content

Reversing Hoe

Chris edited this page Jun 11, 2023 · 5 revisions

Transmutation

Example File

{
  "type": "unstable:transmutation",
  "input": {
    "block": "minecraft:cobblestone"
  },
  "output": "minecraft:diamond_block"
}

Should be placed in this location: <datapack root>\data\unstable\reversing_hoe\transmutation\<file name>.json

File Breakdown:

  1. type: This denotes the data this file will hold. For transmutations, this field should be unstable:transmutation.

  2. input: JSON Object containing the registry name of the block to be transmuted.

    a. block: Registry name of the block to be transformed.*

  3. output: Registry name that the transformed block will turn into.


Property Regression

Example File

{
  "type": "unstable:property_regression",
  "block": "minecraft:beetroots",
  "property": "age"
}

Should be placed in this location: <datapack root>\data\unstable\reversing_hoe\property_regression\<file name>.json

File Breakdown:

  1. type: This denotes the data this file will hold. For property regression, this field should be unstable:property_regression.
  2. block: Registry name of the block to perform property regression on. ***
  3. property: Name of the property to alter. **

* Can be swappped for tag if using a block tag.

** This MUST be an IntegerProperty. For more info visit the minecraft wiki.

*** This MUST be the BLOCK registry name, NOT the item registry name. To see this, press F3 ingame, and look for the block name on the right.

Clone this wiki locally