Actual KnowlegeBook Hardness Fix (#18)

* Update BlockKnowledgeBook.java

* Offical Knowlege Book hardness fix

Added this.setHardness(0.5F) to the book so it won't break instantly.
0.5 seems to be sufficient as a mining speed

First ever codefix: thanks @Sampsa, and @boubou_19 for the help getting me started
This commit is contained in:
Shibva authored and GitHub committed 2022-12-25 20:28:12 +01:00
1 parent e5d267d8f4
commit 5b106b1aaf
4 files changed
+609 -177

No files matched your search

@@ -32,6 +32,7 @@ public class BlockKnowledgeBook extends BlockContainer implements IBlockTranspar
public BlockKnowledgeBook() {
super(Material.circuits);
this.setHardness(0.5f);
this.setBlockBounds(0.0625F, 0.125F, 0.0625F, 0.9375F, 0.5F, 0.9375F);
this.setCreativeTab(RegisteredItems.creativeTab);
}