From 86390297449e01918f9678140e8dfab95fb674a4 Mon Sep 17 00:00:00 2001 From: FoundationGames <43485105+FoundationGames@users.noreply.github.com> Date: Sun, 19 Jan 2025 16:33:41 -0800 Subject: [PATCH] Fix ender chest item, fabric api version requirement --- gradle.properties | 2 +- .../java/foundationgames/enhancedblockentities/EBESetup.java | 2 +- src/main/resources/fabric.mod.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 1095699..42be3ef 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ loader_version=0.16.10 fabric_version=0.114.3+1.21.4 -mod_version = 0.11.2+1.21.4 +mod_version = 0.11.3+1.21.4 maven_group = foundationgames archives_base_name = enhancedblockentities diff --git a/src/main/java/foundationgames/enhancedblockentities/EBESetup.java b/src/main/java/foundationgames/enhancedblockentities/EBESetup.java index 89c1c4c..342b63e 100644 --- a/src/main/java/foundationgames/enhancedblockentities/EBESetup.java +++ b/src/main/java/foundationgames/enhancedblockentities/EBESetup.java @@ -57,7 +57,7 @@ public static void setupRRPChests() { ResourceUtil.addChestItemDefinition("chest", "chest_center", p); ResourceUtil.addChestItemDefinition("trapped_chest", "trapped_chest_center", p); - ResourceUtil.addParentModel("block/ender_chest_center", Identifier.of("item/ender_chest"), p); + ResourceUtil.addChestItemDefinition("ender_chest", "ender_chest_center", p); p.addDirBlockSprites("entity/chest", "entity/chest/"); } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index c8784fe..2a92d04 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -32,7 +32,7 @@ "depends": { "fabricloader": ">=0.16.7", - "fabric-api": "*", + "fabric-api": ">=0.114.1", "minecraft": ">=1.21.3" }, "breaks": {