SlimeKnights / HarvestTweaks

MIT License
4 stars 4 forks source link

Making blocks unbreakable with certain tools #30

Open ghost opened 6 years ago

ghost commented 6 years ago

Could we have a little better documentation of what does what and when.

I am simply trying to make certain blocks unbreakable by hand, but this has proven to be an almost impossible task without any docs.

what i've tried:

====================- Applying block changes -==================== Changing block harvest level of minecraft:stone:0 from pickaxe: 0 to hand: 8

and

Changing block harvest level of minecraft:stone:0 from pickaxe: 0 to hand: 0

==========================================================

neither one helps.

i am at a loss... could you point me in the right direction?

ghost commented 6 years ago

ok, i read through some of the other issues here, and it seems this mod does NOT offer what iw as looking for (making certain blocks unbreakable by hand). Correct me if i am wrong and there IS indeed a way to do so

bonii-xx commented 6 years ago

This mod is for making blocks require certain tools to harvest. It does not prevent the blocks from being broken by hand, similar to how you can break stone by hand if you wait long enough. The only place where it does that is where Minecrafts engine doesn't allow it to (blocks that don't require tools by default). What you want to do is relatively doable in code, the question rather is why should stone be unbreakable by hand, and what would it provide?

bonii-xx commented 6 years ago

Documentation can be found here: https://minecraft.curseforge.com/projects/harvest-tweaks I should probably copy that over to the wiki.