Update to 1.21

Changed files
+23 -23
src
main
java
xyz
naomieow
resources
resourcepacks
+4 -4
build.gradle
··· 1 1 plugins { 2 - id 'fabric-loom' version '1.2-SNAPSHOT' 2 + id 'fabric-loom' version '1.7-SNAPSHOT' 3 3 id 'maven-publish' 4 4 } 5 5 ··· 30 30 } 31 31 32 32 tasks.withType(JavaCompile).configureEach { 33 - it.options.release = 17 33 + it.options.release = 21 34 34 } 35 35 36 36 java { 37 37 withSourcesJar() 38 38 39 - sourceCompatibility = JavaVersion.VERSION_17 40 - targetCompatibility = JavaVersion.VERSION_17 39 + sourceCompatibility = JavaVersion.VERSION_21 40 + targetCompatibility = JavaVersion.VERSION_21 41 41 } 42 42 43 43 jar {
+5 -5
gradle.properties
··· 4 4 5 5 # Fabric Properties 6 6 # check these on https://fabricmc.net/develop 7 - minecraft_version=1.19.3 8 - yarn_mappings=1.19.3+build.5 9 - loader_version=0.14.24 7 + minecraft_version=1.21 8 + yarn_mappings=1.21+build.9 9 + loader_version=0.15.11 10 10 11 11 # Mod Properties 12 - mod_version=1.0.0 12 + mod_version=1.1.0 13 13 maven_group=xyz.naomieow.ibo 14 14 archives_base_name=ibo 15 15 16 16 # Dependencies 17 - fabric_version=0.76.1+1.19.3 17 + fabric_version=0.100.7+1.21
+1 -1
src/main/java/xyz/naomieow/ibo/IboFabric.java
··· 12 12 @Override 13 13 public void onInitialize() { 14 14 FabricLoader.getInstance().getModContainer("ibo").ifPresent((modContainer -> ResourceManagerHelper.registerBuiltinResourcePack( 15 - new Identifier("ibo", "ibo"), 15 + Identifier.of("ibo", "ibo"), 16 16 modContainer, 17 17 Text.literal("ibo"), 18 18 ResourcePackActivationType.DEFAULT_ENABLED
+5 -5
src/main/resources/fabric.mod.json
··· 1 1 { 2 2 "schemaVersion": 1, 3 3 "id": "ibo", 4 - "version": "1.0.0", 4 + "version": "1.1.0", 5 5 "name": "Incendium Biomes Only", 6 6 "description": "Disables everything but biomes in Incendium", 7 7 "authors": [ ··· 10 10 "contact": { 11 11 "email": "support@naomieow.xyz", 12 12 "homepage": "https://modrinth.com/datapack/ibo", 13 - "sources": "https://gitlab.com/naomieow/ibo", 14 - "issues": "https://gitlab.com/naomieow/ibo/-/issues" 13 + "sources": "https://codeberg.org/naomi/ibo", 14 + "issues": "https://codeberg.org/naomi/ibo/issues" 15 15 }, 16 16 "license": "LGPL-v3", 17 17 "environment": "*", ··· 23 23 "mixins": [], 24 24 "depends": { 25 25 "fabricloader": ">=0.12.7", 26 - "minecraft": ">=1.19.3", 26 + "minecraft": ">=1.21", 27 27 "fabric-api": "*", 28 - "incendium": ">=5.1.5" 28 + "incendium": ">=5.4.0" 29 29 } 30 30 }
+8 -8
src/main/resources/resourcepacks/ibo/pack.mcmeta
··· 1 1 { 2 2 "pack": { 3 - "pack_format": 12, 3 + "pack_format": 48, 4 4 "description": "Disables everything but biomes in Incendium" 5 5 }, 6 6 "filter": { 7 7 "block": [ 8 8 { 9 9 "namespace": "incendium", 10 - "path": "functions/.*" 10 + "path": "function/.*" 11 11 }, 12 12 { 13 13 "namespace": "incendium", 14 - "path": "structures/.*" 14 + "path": "structure/.*" 15 15 }, 16 16 { 17 17 "namespace": "incendium", 18 - "path": "advancements/.*" 18 + "path": "advancement/.*" 19 19 }, 20 20 { 21 21 "namespace": "incendium", 22 - "path": "loot_tables/.*" 22 + "path": "loot_table/.*" 23 23 }, 24 24 { 25 25 "namespace": "incendium", 26 - "path": "item_modifiers/.*" 26 + "path": "item_modifier/.*" 27 27 }, 28 28 { 29 29 "namespace": "incendium", 30 - "path": "predicates/.*" 30 + "path": "predicate/.*" 31 31 }, 32 32 { 33 33 "namespace": "incendium", 34 - "path": "recipes/.*" 34 + "path": "recipe/.*" 35 35 }, 36 36 { 37 37 "namespace": "incendium",