From 6d3e05cb5b34608577922a3f9450fd588ff43c13 Mon Sep 17 00:00:00 2001 From: Alex-MacLean Date: Thu, 21 Sep 2023 18:32:57 -0700 Subject: [PATCH] *Updated for Minecraft >= 1.20.2 *Improve creative UI organization *Bump version to 0.7.3 *Missing from previous commit description: Survivors no longer attack creepers --- gradle.properties | 8 ++++---- .../java/com/herobrinemod/herobrine/HerobrineMod.java | 8 ++++---- src/main/resources/fabric.mod.json | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gradle.properties b/gradle.properties index a5694c37..aba2efab 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,15 +5,15 @@ org.gradle.parallel=true #Fabric properties #Check these on https://modmuss50.me/fabric.html -minecraft_version=1.20.2-pre4 -yarn_mappings=1.20.2-pre4+build.1 +minecraft_version=1.20.2 +yarn_mappings=1.20.2+build.1 loader_version=0.14.22 #Fabric api -fabric_version=0.88.4+1.20.2 +fabric_version=0.89.1+1.20.2 #Mod properties -mod_version=0.7.2 +mod_version=0.7.3 maven_group=com.herobrinemod.herobrine archives_base_name=TheLegendOfHerobrine-Fabric mod_id=herobrine diff --git a/src/main/java/com/herobrinemod/herobrine/HerobrineMod.java b/src/main/java/com/herobrinemod/herobrine/HerobrineMod.java index 9226cef0..a916fe21 100644 --- a/src/main/java/com/herobrinemod/herobrine/HerobrineMod.java +++ b/src/main/java/com/herobrinemod/herobrine/HerobrineMod.java @@ -132,11 +132,11 @@ private void registerItemGroups() { ItemGroupEvents.modifyEntriesEvent(ItemGroups.COMBAT).register(content -> content.addAfter(ItemList.CURSED_DIAMOND_LEGGINGS, ItemList.CURSED_DIAMOND_BOOTS)); ItemGroupEvents.modifyEntriesEvent(ItemGroups.COMBAT).register(content -> content.addAfter(Items.NETHERITE_SWORD, ItemList.CURSED_DIAMOND_SWORD)); ItemGroupEvents.modifyEntriesEvent(ItemGroups.COMBAT).register(content -> content.addAfter(ItemList.CURSED_DIAMOND_SWORD, ItemList.BEDROCK_SWORD)); - ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(Items.NETHERITE_AXE, ItemList.CURSED_DIAMOND_AXE)); + ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(Items.NETHERITE_HOE, ItemList.CURSED_DIAMOND_SHOVEL)); ItemGroupEvents.modifyEntriesEvent(ItemGroups.COMBAT).register(content -> content.addAfter(Items.NETHERITE_AXE, ItemList.CURSED_DIAMOND_AXE)); - ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(Items.NETHERITE_PICKAXE, ItemList.CURSED_DIAMOND_PICKAXE)); - ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(Items.NETHERITE_SHOVEL, ItemList.CURSED_DIAMOND_SHOVEL)); - ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(Items.NETHERITE_HOE, ItemList.CURSED_DIAMOND_HOE)); + ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(ItemList.CURSED_DIAMOND_SHOVEL, ItemList.CURSED_DIAMOND_PICKAXE)); + ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(ItemList.CURSED_DIAMOND_PICKAXE, ItemList.CURSED_DIAMOND_AXE)); + ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(ItemList.CURSED_DIAMOND_AXE, ItemList.CURSED_DIAMOND_HOE)); ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(content -> content.addAfter(Items.MUSIC_DISC_CAT, ItemList.MUSIC_DISC_DOG)); ItemGroupEvents.modifyEntriesEvent(ItemGroups.COMBAT).register(content -> content.addAfter(Items.EGG, ItemList.HOLY_WATER)); ItemGroupEvents.modifyEntriesEvent(ItemGroups.COMBAT).register(content -> content.addAfter(ItemList.HOLY_WATER, ItemList.UNHOLY_WATER)); diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 1eb2661f..aa87292f 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -32,10 +32,10 @@ "herobrine.mixins.json" ], "depends": { - "fabricloader": ">=0.14.21", - "fabric": ">=0.83.0", - "fabric-api": ">=0.83.0", - "minecraft": ">=1.20" + "fabricloader": ">=0.14.22", + "fabric": ">=0.88.1", + "fabric-api": ">=0.88.1", + "minecraft": ">=1.20.1" }, "custom": { "modmenu": {