From 5bd47af6af4388c48eb09db82fc078c110b1cddc Mon Sep 17 00:00:00 2001 From: lukasabbe <67807954+lukasabbe@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:36:23 +0100 Subject: [PATCH] 1.21.11 --- build.gradle | 2 +- .../bookshelfinspector/Constants.java | 12 ++++++------ .../bookshelfinspector/data/Tags.java | 8 ++++---- gradle.properties | 18 +++++++++--------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/build.gradle b/build.gradle index 7c571ad..a6d6873 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { // see https://fabricmc.net/develop/ for new versions - id 'fabric-loom' version '1.11-SNAPSHOT' apply false + id 'fabric-loom' version '1.13-SNAPSHOT' apply false // see https://projects.neoforged.net/neoforged/moddevgradle for new versions id 'net.neoforged.moddev' version '2.0.112' apply false } \ No newline at end of file diff --git a/common/src/main/java/com/lukasabbe/bookshelfinspector/Constants.java b/common/src/main/java/com/lukasabbe/bookshelfinspector/Constants.java index e417755..813dd3d 100644 --- a/common/src/main/java/com/lukasabbe/bookshelfinspector/Constants.java +++ b/common/src/main/java/com/lukasabbe/bookshelfinspector/Constants.java @@ -1,6 +1,6 @@ package com.lukasabbe.bookshelfinspector; -import net.minecraft.resources.ResourceLocation; +import net.minecraft.resources.Identifier; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -9,9 +9,9 @@ public class Constants { public static final String MOD_NAME = "Bookshelf Inspector"; public static final Logger LOG = LoggerFactory.getLogger(MOD_NAME); - public static final ResourceLocation BOOK_SHELF_INVENTORY_REQUEST_PACKET_ID = ResourceLocation.fromNamespaceAndPath(MOD_ID,"book_shelf_inventory_request"); - public static final ResourceLocation BOOK_SHELF_INVENTORY_PACKET_ID = ResourceLocation.fromNamespaceAndPath(MOD_ID,"book_shelf_inventory"); - public static final ResourceLocation MOD_CHECK_PACKET_ID = ResourceLocation.fromNamespaceAndPath(MOD_ID,"mod_check"); - public static final ResourceLocation LECTERN_INVENTORY_REQUEST_PACKET_ID = ResourceLocation.fromNamespaceAndPath(MOD_ID, "lectern_inventory_request"); - public static final ResourceLocation SHELF_INVENTORY_REQUEST_PACKET_ID = ResourceLocation.fromNamespaceAndPath(MOD_ID,"shelf_inventory_request"); + public static final Identifier BOOK_SHELF_INVENTORY_REQUEST_PACKET_ID = Identifier.fromNamespaceAndPath(MOD_ID,"book_shelf_inventory_request"); + public static final Identifier BOOK_SHELF_INVENTORY_PACKET_ID = Identifier.fromNamespaceAndPath(MOD_ID,"book_shelf_inventory"); + public static final Identifier MOD_CHECK_PACKET_ID = Identifier.fromNamespaceAndPath(MOD_ID,"mod_check"); + public static final Identifier LECTERN_INVENTORY_REQUEST_PACKET_ID = Identifier.fromNamespaceAndPath(MOD_ID, "lectern_inventory_request"); + public static final Identifier SHELF_INVENTORY_REQUEST_PACKET_ID = Identifier.fromNamespaceAndPath(MOD_ID,"shelf_inventory_request"); } \ No newline at end of file diff --git a/common/src/main/java/com/lukasabbe/bookshelfinspector/data/Tags.java b/common/src/main/java/com/lukasabbe/bookshelfinspector/data/Tags.java index be3091c..7cedef2 100644 --- a/common/src/main/java/com/lukasabbe/bookshelfinspector/data/Tags.java +++ b/common/src/main/java/com/lukasabbe/bookshelfinspector/data/Tags.java @@ -1,12 +1,12 @@ package com.lukasabbe.bookshelfinspector.data; import net.minecraft.core.registries.Registries; -import net.minecraft.resources.ResourceLocation; +import net.minecraft.resources.Identifier; import net.minecraft.tags.TagKey; import net.minecraft.world.level.block.Block; public class Tags { - public static final TagKey CHISELED_BOOKSHELVES = TagKey.create(Registries.BLOCK, ResourceLocation.fromNamespaceAndPath("c", "chiseled_bookshelves")); - public static final TagKey LECTERNS = TagKey.create(Registries.BLOCK, ResourceLocation.fromNamespaceAndPath("c", "lectern")); - public static final TagKey SHELVES = TagKey.create(Registries.BLOCK, ResourceLocation.fromNamespaceAndPath("c", "shelves")); + public static final TagKey CHISELED_BOOKSHELVES = TagKey.create(Registries.BLOCK, Identifier.fromNamespaceAndPath("c", "chiseled_bookshelves")); + public static final TagKey LECTERNS = TagKey.create(Registries.BLOCK, Identifier.fromNamespaceAndPath("c", "lectern")); + public static final TagKey SHELVES = TagKey.create(Registries.BLOCK, Identifier.fromNamespaceAndPath("c", "shelves")); } diff --git a/gradle.properties b/gradle.properties index b63e147..6292db1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,12 +1,12 @@ -version=2.2+1.21.10 +version=2.2+1.21.11 # release, beta & alpha -versionType=release +versionType=beta group=com.lukasabbe.bookshelfinspector java_version=21 # Common -minecraft_version=1.21.10 +minecraft_version=1.21.11-pre1 mod_name=BookshelfInspector mod_author=Lukasabbe mod_id=bookshelfinspector @@ -16,14 +16,14 @@ description=Inspect any book in a chiseled bookshelf. minecraft_version_range=[1.21.10, 1.22) # https://projects.neoforged.net/neoforged/neoform -neo_form_version=1.21.10-20251007.142004 +neo_form_version=1.21.11-pre1-20251119.112005 # The version of ParchmentMC that is used, see https://parchmentmc.org/docs/getting-started#choose-a-version for new versions -parchment_minecraft=1.21.9 -parchment_version=2025.10.05 +parchment_minecraft=1.21.10 +parchment_version=2025.10.12 # Fabric -fabric_version=0.134.1+1.21.10 -fabric_loader_version=0.17.2 +fabric_version=0.139.1+1.21.11 +fabric_loader_version=0.18.1 # NeoForge neoforge_version=21.10.1-beta @@ -36,4 +36,4 @@ org.gradle.daemon=false # Global dep YAML_snake=2.5 cloth_config=20.0.148 -mod_menu=16.0.0-rc.1 \ No newline at end of file +mod_menu=17.0.0-alpha.1 \ No newline at end of file