Create Slice & Dice

Create Slice & Dice

27M Downloads

The "Allowed Tools" json is missing some that are required for the mod's recipes.

Closed this issue ยท 2 comments

commented

What happened?

To be brief, some tools can't be put on the slicer. Specifically, only the knife and axe were able to. My programming experience is limited, I was able to find that it's because your JSON file that specifies which tools can get put on it only says this:

{
  "replace": false,
  "values": [
    {
      "id": "#farmersdelight:tools/knives",
      "required": false
    },
    "#forge:tools/axes"
  ]
}

That being said, if you wanna fix it, just add the other tools as follows: (For anyone currently dealing with this issue, you can go to \mods\sliceanddice-forge-3.4.0.jar\data\sliceanddice\tags\items\ on your server and paste this in yourself:

{
  "replace": false,
  "values": [
    {
      "id": "#farmersdelight:tools/knives",
      "required": false
    },
    "#forge:tools/axes",
	"#forge:tools/pickaxes",
	"#forge:tools/shovels",
	"minecraft:shears"
  ]
}

Hope this helps!

Loader

forge

Mod Version

3.4.0

Minecraft Version

1.20

Relevant log output

commented

Hi yes, this is my design. For future references, everything within the "data" folder of a mod can be modified using a datapack, no need to modify the mod jar itself. There is also an example datapack linked in the README of this repo which adds shears, you can take a look at that.