From c1679d9030dfc9eed4103cd77845c301a40e31ea Mon Sep 17 00:00:00 2001 From: Draylar Date: Mon, 10 Aug 2020 11:32:04 -0500 Subject: [PATCH] fix #9, fix #8 --- gradle.properties | 7 +++++-- .../intotheomega/registry/OmegaBlocks.java | 3 ++- .../loot_tables/blocks/conquest_forge.json | 19 +++++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/data/intotheomega/loot_tables/blocks/conquest_forge.json diff --git a/gradle.properties b/gradle.properties index 44d5281..c61c355 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,14 +1,17 @@ # Done to increase the memory available to gradle. org.gradle.jvmargs=-Xmx1G + # Fabric Properties # check these on https://fabricmc.net/use minecraft_version=1.16.1 yarn_mappings=1.16.1+build.21 loader_version=0.9.0+build.204 + # Mod Properties -mod_version=1.0.2-beta +mod_version=1.0.3-beta maven_group=draylar archives_base_name=into-the-omega + # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api -fabric_version=0.16.0+build.384-1.16.1 +fabric_version=0.17.0+build.386-1.16.1 diff --git a/src/main/java/draylar/intotheomega/registry/OmegaBlocks.java b/src/main/java/draylar/intotheomega/registry/OmegaBlocks.java index 0370358..0a7bc8a 100644 --- a/src/main/java/draylar/intotheomega/registry/OmegaBlocks.java +++ b/src/main/java/draylar/intotheomega/registry/OmegaBlocks.java @@ -20,7 +20,8 @@ public class OmegaBlocks { new OmegaCrystalOreBlock( FabricBlockSettings .of(Material.STONE) - .breakByTool(FabricToolTags.PICKAXES) + .requiresTool() + .breakByTool(FabricToolTags.PICKAXES, 3) .strength(10.0F, 9.0F) ), new Item.Settings() diff --git a/src/main/resources/data/intotheomega/loot_tables/blocks/conquest_forge.json b/src/main/resources/data/intotheomega/loot_tables/blocks/conquest_forge.json new file mode 100644 index 0000000..bf99bf7 --- /dev/null +++ b/src/main/resources/data/intotheomega/loot_tables/blocks/conquest_forge.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "intotheomega:conquest_forge" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file