Tinkers' Complement

Tinkers' Complement

27M Downloads

[BUG] Sledge hammer won't crush diorite or granite

theshadowake opened this issue ยท 16 comments

commented

As title, the sledge hammer works on all materials except granite and diorite. The recipe shows as valid in JEI, but just doesn't work when breaking the blocks. If there's anything you can do to fix, that would be great, thanks.

commented

Does granite and diorite exist in normal Ex Nihilo? I don't recall that being an option, so I wonder if it's an add-on feature.

Can you try and determine if this happens with just Tinkers Complement and Ez Nihilo, or if you need an add-on to Ex Nihilo for it to work?

commented

I'm pretty sure it is, but I'll do some testing and get back to you just to make 100% sure.

commented

Does the normal Ex Nihilo hammer work? I don't special case any of the blocks so it seems unlikely that only certain ones work unless entirely broken.

commented

Yep, the normal hammer works on all blocks as expected. Sledge works on everything as expected except for granite and diorite. JEI shows everything fine.

commented

OK yep bug 100% confirmed. Created a pack with just JEI, Ex Nihilo Creatio, Tinkers Construct and Tinkers Complement. Normal Ex Nihilo Creatio hammers break down both granite and diorite into their crushed versions. Tinkers Complement Sledge Hammers show as valid in JEI, but just slowly break the blocks and drop nothing as if they are an invalid tool (e.g. same as if hit with say an axe).

commented

Forgot to test andesite, at a guess it would be the same and not work, but I will test later to confirm.

Any head material. I already thought it could be mining level but no. Stone, Iron, Steel, Terrasteel and Infinity were all tested and none work.

commented

Just to confirm andesite is the same issue.

commented

What type of sledge hammer are you using? Specifically, what is your head material? And does it work on andesite?

I have nothing special in my treatment of those blocks nor am I doing anything significantly different for hammer logic (Ex Nihilo actually handles all that code for all hammer types generically), so unless it's a mining level fail I have no idea right now.

commented

this is also is a problem for me.

commented

Just another quick bump here, running into the same issue. It's a small one, but a mighty one!

commented

I don't like to ask for updates or poke too much (I get that a lot and know how annoying it is). But if you do manage to get a chance to take another look at this at some point that would be great.

commented

Hi guys. I had the same problem, but I just found a very easy solution. Just add a recipe for hammer that crushes stone into cobblestone and then everything works fine. Problem was that all granite, andesite and diorite are Stone but with different metadata and stone had no recipe.

mods.exnihilocreatio.Hammer.addRecipe(<minecraft:stone:0>, <minecraft:cobblestone>, 0, 1.0, 0.0);

commented

I'm finding that the latest version for 1.12.2, version 0.4.3, doesn't let any Tinkers Complement sledge hammers turn cobblestone into gravel. A regular stone hammer from Ex Nihilo works however. The Tinkers Complement hammer does work on gravel/sand though. Is there a way to make this work for cobblestone? I saw that someone mentioned adding a recipe, but how do I go about doing that?

commented

Oh ok, thanks

commented

Don't wanna be a dick but is there any progress in fixing this?

commented

This issue was reported when I was quite busy, and I've mostly moved onto 1.16 at this point. I don't think its a hard fix, if someone wanted to PR a fix they can and it will be released. Otherwise the solutions posted above fix it.

Long story short: don't change your API and expect mods to still support it.