PssbleTrngle / SliceAndDice

Making automation for Farmer's Delight more sensible
https://www.curseforge.com/minecraft/mc-mods/slice-and-dice
Other
17 stars 15 forks source link

how to add shears to the slicer? #46

Closed lolzhunter closed 1 year ago

lolzhunter commented 1 year ago

What happened?

might be a bit silly but im on the latest version, and there is no client config or an option in the common config to edit what the slicer can use as a tool image image i am using this in a custom curseforge modpack based off of "create flavored" with some added mods like thermal series and ae2 for 1.19.2 to name a few. i suppose my question is can i manually add the config back or am i doing something wrong, trying to cut up leather armor on a conveyor belt but the knives dont work so i figured i needed shears but couldnt put them on the slicer, i was using the beta version of 1.19 figured that was the issue, updated to 2.0.3 but still no added config/problem still happening, tried repairing the modpack still didnt fix it. any advice?

Mod Version

2.0.3

Minecraft Version

None

Forge Version

43.2.4

Relevant log output

No response

lolzhunter commented 1 year ago

not sure why available recipes in the JEI [tools] aren't auto added :/, then again that feature could be annoying af to code/maintain i wouldnt know, knives and axe works fine so i know the list exists somewhere

PssbleTrngle commented 1 year ago

The list of tools that are possible to be put into a slicer is managed using an item tag, it's explained here

lolzhunter commented 1 year ago

yes, but where/how do i do that? could you link a more in depth guide if possible

EDIT: managed to figure it out, had to go into the jar directly to find the allowed tools json and edited it so it looks like this now image wish there was a easier way to do it but oh well, it did work, was able to boot into a world and it worked with the shears and the leather armor processing and all that

PssbleTrngle commented 1 year ago

There is an easier way than to edit the file within the jar, it's datapacks

lolzhunter commented 1 year ago

image

PssbleTrngle commented 1 year ago

Yes, you would have to create a datapack in that folder, they work similar to resource pack, but instead of modifying textures/models, they can modify things like recipes & item tags

lolzhunter commented 1 year ago

huh, how would i go about that for future reference? sorry ive never used datapacks before

PssbleTrngle commented 1 year ago

I recommend you watch a youtube tutorial on datapack. An basic example datapack which you could place in your worlds "datapacks" folder that adds shears would be this: example_datapack.zip