diff --git a/build.gradle b/build.gradle index 1f5253404..ec9af169b 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { id 'net.minecraftforge.gradle' version '[6.0.16,6.2)' } -version = '2.0.6' +version = '2.0.8' group = 'com.aulyrius.custom_ore_gen' archivesBaseName = 'custom_ore_gen' diff --git a/src/main/java/net/mcreator/customoregen/item/SharddiamondpaxelItem.java b/src/main/java/net/mcreator/customoregen/item/SharddiamondpaxelItem.java index 1d8f78193..2e8edeec1 100644 --- a/src/main/java/net/mcreator/customoregen/item/SharddiamondpaxelItem.java +++ b/src/main/java/net/mcreator/customoregen/item/SharddiamondpaxelItem.java @@ -46,7 +46,7 @@ public class SharddiamondpaxelItem extends PickaxeItem { if (state.is(BlockTags.MINEABLE_WITH_PICKAXE) || state.is(BlockTags.MINEABLE_WITH_SHOVEL) || state.is(BlockTags.MINEABLE_WITH_AXE)) { - return getSpeed(); + return getTier().getSpeed(); } return super.getDestroySpeed(stack, state); } diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index cadc8cef5..a8e82ee7e 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -4,7 +4,7 @@ license="Not specified" [[mods]] modId="custom_ore_gen" -version="2.0.6-forge" +version="2.0.8-forge" displayName="Custom Ore Gem" displayURL="https://lanro.eu" credits="Created using mod maker MCreator - https://mcreator.net/about" diff --git a/src/main/resources/assets/custom_ore_gen/textures/models/armor/shard_diamond_layer_1.png b/src/main/resources/assets/custom_ore_gen/textures/models/armor/shard_diamond_layer_1.png new file mode 100644 index 000000000..7458059ed Binary files /dev/null and b/src/main/resources/assets/custom_ore_gen/textures/models/armor/shard_diamond_layer_1.png differ diff --git a/src/main/resources/assets/custom_ore_gen/textures/models/armor/shard_diamond_layer_2.png b/src/main/resources/assets/custom_ore_gen/textures/models/armor/shard_diamond_layer_2.png new file mode 100644 index 000000000..2888cd240 Binary files /dev/null and b/src/main/resources/assets/custom_ore_gen/textures/models/armor/shard_diamond_layer_2.png differ diff --git a/src/main/resources/data/custom_ore_gen/recipes/sharddiamondpaxel.json b/src/main/resources/data/custom_ore_gen/recipes/sharddiamondpaxel.json index ebc9f3a55..086d6becc 100644 --- a/src/main/resources/data/custom_ore_gen/recipes/sharddiamondpaxel.json +++ b/src/main/resources/data/custom_ore_gen/recipes/sharddiamondpaxel.json @@ -3,7 +3,7 @@ "category": "equipment", "pattern": [ "APS", - "S S", + "STS", " " ], "key": { @@ -16,7 +16,7 @@ "S": { "item": "custom_ore_gen:sharddiamondpickaxe" }, - " ": { + "T": { "item": "minecraft:stick" } },