Misc build fixes

This commit is contained in:
modmuss50 2024-08-18 18:05:46 +01:00
parent c7e4f44cb4
commit 6300a776b7
135 changed files with 141 additions and 192 deletions

View file

@ -365,8 +365,7 @@ apply from: "gradle/module-validation.gradle"
apply from: "gradle/module-versioning.gradle" apply from: "gradle/module-versioning.gradle"
loom { loom {
// Required as the item-group API uses access widened classes in its API, without this the javadoc generation fails. accessWidenerPath = file("gradle/javadoc.accesswidener")
accessWidenerPath = file("fabric-item-group-api-v1/src/main/resources/fabric-item-group-api-v1.accesswidener")
} }
javadoc { javadoc {

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-command-api-v2": "*" "fabric-command-api-v2": "*"
}, },

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-command-api-v2": "*" "fabric-command-api-v2": "*"
}, },

View file

@ -21,7 +21,7 @@
] ]
}, },
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.18.2" "minecraft": ">=1.18.2"
}, },
"description": "Contains common tags used by mods for vanilla things.", "description": "Contains common tags used by mods for vanilla things.",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-key-binding-api-v1": "*" "fabric-key-binding-api-v1": "*"
}, },
"description": "Keybinding registry API.", "description": "Keybinding registry API.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.loot.v2", "package": "net.fabricmc.fabric.mixin.loot.v2",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"LootPoolBuilderMixin", "LootPoolBuilderMixin",
"LootTableBuilderMixin" "LootTableBuilderMixin"

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-resource-loader-v0": "*" "fabric-resource-loader-v0": "*"
}, },

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.15-alpha.19.39.a", "minecraft": ">=1.15-alpha.19.39.a",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-rendering-v1": "*" "fabric-rendering-v1": "*"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.rendering.data.client", "package": "net.fabricmc.fabric.mixin.rendering.data.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ChunkRendererRegionMixin" "ChunkRendererRegionMixin"
], ],

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.rendering.data", "package": "net.fabricmc.fabric.mixin.rendering.data",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"BlockEntityMixin", "BlockEntityMixin",
"WorldViewMixin" "WorldViewMixin"

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-block-view-api-v2": "*" "fabric-block-view-api-v2": "*"
}, },
"description": "Thread-safe hooks for block entity data use during terrain rendering.", "description": "Thread-safe hooks for block entity data use during terrain rendering.",

View file

@ -21,7 +21,7 @@
] ]
}, },
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.15-alpha.19.39.a", "minecraft": ">=1.15-alpha.19.39.a",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-rendering-v1": "*" "fabric-rendering-v1": "*"

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Contains the essentials for Fabric API modules.", "description": "Contains the essentials for Fabric API modules.",
"custom": { "custom": {

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.test.base.client.mixin", "package": "net.fabricmc.fabric.test.base.client.mixin",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"CyclingButtonWidgetAccessor", "CyclingButtonWidgetAccessor",
"ScreenAccessor" "ScreenAccessor"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.lookup", "package": "net.fabricmc.fabric.mixin.lookup",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"BlockEntityTypeAccessor", "BlockEntityTypeAccessor",
"ServerWorldMixin" "ServerWorldMixin"

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-lifecycle-events-v1": "*" "fabric-lifecycle-events-v1": "*"
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.biome", "package": "net.fabricmc.fabric.mixin.biome",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"BiomeSourceMixin", "BiomeSourceMixin",
"ChunkNoiseSamplerMixin", "ChunkNoiseSamplerMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.16.2" "minecraft": ">=1.16.2"
}, },
"description": "Hooks for adding biomes to the default world generator.", "description": "Hooks for adding biomes to the default world generator.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.block", "package": "net.fabricmc.fabric.mixin.block",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"BlockMixin", "BlockMixin",
"BlockStateMixin", "BlockStateMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"entrypoints": { "entrypoints": {
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.blockview.client", "package": "net.fabricmc.fabric.mixin.blockview.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ChunkRendererRegionMixin", "ChunkRendererRegionMixin",
"ChunkRendererRegionBuilderMixin" "ChunkRendererRegionBuilderMixin"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.blockview", "package": "net.fabricmc.fabric.mixin.blockview",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"BlockEntityMixin", "BlockEntityMixin",
"BlockViewMixin" "BlockViewMixin"

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Hooks for block views", "description": "Hooks for block views",
"mixins": [ "mixins": [

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.blockrenderlayer", "package": "net.fabricmc.fabric.mixin.blockrenderlayer",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"RenderLayersMixin" "RenderLayersMixin"
], ],

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.15-alpha.19.38.b", "minecraft": ">=1.15-alpha.19.38.b",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Adds the ability to load tags from the local mods.", "description": "Adds the ability to load tags from the local mods.",
"custom": { "custom": {

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.command.client", "package": "net.fabricmc.fabric.mixin.command.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ClientCommandSourceMixin", "ClientCommandSourceMixin",
"ClientPlayNetworkHandlerMixin" "ClientPlayNetworkHandlerMixin"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.command", "package": "net.fabricmc.fabric.mixin.command",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"ArgumentTypesAccessor", "ArgumentTypesAccessor",
"CommandManagerMixin", "CommandManagerMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"minecraft": ">1.19-alpha.22.11.a" "minecraft": ">1.19-alpha.22.11.a"
}, },

View file

@ -1,6 +1,3 @@
accessWidener v1 named accessWidener v1 named
accessible method net/minecraft/block/entity/AbstractFurnaceBlockEntity addFuel (Ljava/util/Map;Lnet/minecraft/registry/tag/TagKey;I)V
accessible method net/minecraft/block/entity/AbstractFurnaceBlockEntity addFuel (Ljava/util/Map;Lnet/minecraft/item/ItemConvertible;I)V
accessible method net/minecraft/recipe/BrewingRecipeRegistry$Recipe <init> (Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/registry/entry/RegistryEntry;)V accessible method net/minecraft/recipe/BrewingRecipeRegistry$Recipe <init> (Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/registry/entry/RegistryEntry;)V

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.content.registry", "package": "net.fabricmc.fabric.mixin.content.registry",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"AxeItemAccessor", "AxeItemAccessor",
"BrewingRecipeRegistryBuilderMixin", "BrewingRecipeRegistryBuilderMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-lifecycle-events-v1": "*", "fabric-lifecycle-events-v1": "*",
"fabric-resource-loader-v0": "*" "fabric-resource-loader-v0": "*"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.test.mixin.content.registry", "package": "net.fabricmc.fabric.test.mixin.content.registry",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
], ],
"injectors": { "injectors": {

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.18.2" "minecraft": ">=1.18.2"
}, },
"description": "Contains common tags used by mods for vanilla things.", "description": "Contains common tags used by mods for vanilla things.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.tag", "package": "net.fabricmc.fabric.mixin.tag",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"TagKeyMixin" "TagKeyMixin"
], ],

View file

@ -21,7 +21,7 @@
] ]
}, },
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.20.5-beta.1", "minecraft": ">=1.20.5-beta.1",
"fabric-lifecycle-events-v1": "*" "fabric-lifecycle-events-v1": "*"
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.crash.report.info", "package": "net.fabricmc.fabric.mixin.crash.report.info",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"SystemDetailsMixin" "SystemDetailsMixin"
], ],

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Adds Fabric-related debug info to crash reports.", "description": "Adds Fabric-related debug info to crash reports.",
"mixins": [ "mixins": [

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.attachment.client", "package": "net.fabricmc.fabric.mixin.attachment.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
], ],
"injectors": { "injectors": {

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.attachment", "package": "net.fabricmc.fabric.mixin.attachment",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"AttachmentTargetsMixin", "AttachmentTargetsMixin",
"BannerBlockEntityMixin", "BannerBlockEntityMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-entity-events-v1": "*", "fabric-entity-events-v1": "*",
"fabric-object-builder-api-v1": "*" "fabric-object-builder-api-v1": "*"
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.test.attachment.mixin", "package": "net.fabricmc.fabric.test.attachment.mixin",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"BlockEntityTypeAccessor" "BlockEntityTypeAccessor"
], ],

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.datagen.client", "package": "net.fabricmc.fabric.mixin.datagen.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"MinecraftClientMixin" "MinecraftClientMixin"
], ],

View file

@ -6,9 +6,6 @@ accessWidener v2 named
accessible field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput; accessible field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput;
mutable field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput; mutable field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput;
accessible field net/minecraft/data/server/recipe/RecipeProvider recipesPathResolver Lnet/minecraft/data/DataOutput$PathResolver;
accessible field net/minecraft/data/server/recipe/RecipeProvider advancementsPathResolver Lnet/minecraft/data/DataOutput$PathResolver;
accessible class net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider accessible class net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider
extendable method net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider run (Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture; extendable method net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider run (Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
@ -57,8 +54,6 @@ transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$B
transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$LogTexturePool transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$LogTexturePool
transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$BuiltinModelPool transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$BuiltinModelPool
transitive-accessible field net/minecraft/data/server/loottable/BlockLootTableGenerator WITH_SHEARS Lnet/minecraft/loot/condition/LootCondition$Builder;
### Generated access wideners below ### Generated access wideners below
transitive-accessible method net/minecraft/data/server/recipe/RecipeGenerator generate ()V transitive-accessible method net/minecraft/data/server/recipe/RecipeGenerator generate ()V

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.datagen", "package": "net.fabricmc.fabric.mixin.datagen",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"DataProviderMixin", "DataProviderMixin",
"ModelProviderMixin", "ModelProviderMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Allows for automatic data generation.", "description": "Allows for automatic data generation.",
"mixins": [ "mixins": [

View file

@ -1,9 +1,6 @@
accessible field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput; accessible field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput;
mutable field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput; mutable field net/minecraft/data/DataGenerator output Lnet/minecraft/data/DataOutput;
accessible field net/minecraft/data/server/recipe/RecipeProvider recipesPathResolver Lnet/minecraft/data/DataOutput$PathResolver;
accessible field net/minecraft/data/server/recipe/RecipeProvider advancementsPathResolver Lnet/minecraft/data/DataOutput$PathResolver;
accessible class net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider accessible class net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider
extendable method net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider run (Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture; extendable method net/minecraft/data/server/recipe/RecipeGenerator$RecipeProvider run (Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
@ -52,6 +49,4 @@ transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$B
transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$LogTexturePool transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$LogTexturePool
transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$BuiltinModelPool transitive-accessible class net/minecraft/data/client/BlockStateModelGenerator$BuiltinModelPool
transitive-accessible field net/minecraft/data/server/loottable/BlockLootTableGenerator WITH_SHEARS Lnet/minecraft/loot/condition/LootCondition$Builder;
### Generated access wideners below ### Generated access wideners below

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.dimension", "package": "net.fabricmc.fabric.mixin.dimension",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"DimensionOptionsRegistryHolderMixin", "DimensionOptionsRegistryHolderMixin",
"Schema2832Mixin", "Schema2832Mixin",

View file

@ -15,7 +15,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.16-rc.3", "minecraft": ">=1.16-rc.3",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.client.entity.event", "package": "net.fabricmc.fabric.mixin.client.entity.event",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"elytra.ClientPlayerEntityMixin" "elytra.ClientPlayerEntityMixin"
], ],

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.entity.event", "package": "net.fabricmc.fabric.mixin.entity.event",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"EntityMixin", "EntityMixin",
"LivingEntityMixin", "LivingEntityMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Events to hook into entities.", "description": "Events to hook into entities.",
"mixins": [ "mixins": [

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.event.interaction.client", "package": "net.fabricmc.fabric.mixin.event.interaction.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ClientPlayerInteractionManagerMixin", "ClientPlayerInteractionManagerMixin",
"KeyBindingAccessor", "KeyBindingAccessor",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.event.interaction", "package": "net.fabricmc.fabric.mixin.event.interaction",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"PlayerAdvancementTrackerMixin", "PlayerAdvancementTrackerMixin",
"ServerPlayerEntityMixin", "ServerPlayerEntityMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-networking-api-v1": "*", "fabric-networking-api-v1": "*",
"minecraft": ">=1.15-alpha.19.37.a" "minecraft": ">=1.15-alpha.19.37.a"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.gamerule.client", "package": "net.fabricmc.fabric.mixin.gamerule.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"EditGameRulesScreenAccessor", "EditGameRulesScreenAccessor",
"EditGameRulesScreenRuleListWidgetMixin", "EditGameRulesScreenRuleListWidgetMixin",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.gamerule", "package": "net.fabricmc.fabric.mixin.gamerule",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"GameRulesBooleanRuleAccessor", "GameRulesBooleanRuleAccessor",
"GameRuleCommandAccessor", "GameRuleCommandAccessor",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Allows registration of custom game rules.", "description": "Allows registration of custom game rules.",
"mixins": [ "mixins": [

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.gametest", "package": "net.fabricmc.fabric.mixin.gametest",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"ArgumentTypesMixin", "ArgumentTypesMixin",
"CommandManagerMixin", "CommandManagerMixin",

View file

@ -21,7 +21,7 @@
] ]
}, },
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-resource-loader-v0": "*" "fabric-resource-loader-v0": "*"
}, },
"description": "Allows registration of custom game tests.", "description": "Allows registration of custom game tests.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.item.client", "package": "net.fabricmc.fabric.mixin.item.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ClientPlayerInteractionManagerMixin", "ClientPlayerInteractionManagerMixin",
"HeldItemRendererMixin", "HeldItemRendererMixin",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.item", "package": "net.fabricmc.fabric.mixin.item",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"AbstractFurnaceBlockEntityMixin", "AbstractFurnaceBlockEntityMixin",
"AnvilScreenHandlerMixin", "AnvilScreenHandlerMixin",

View file

@ -23,7 +23,7 @@
} }
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Hooks for items", "description": "Hooks for items",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.itemgroup.client", "package": "net.fabricmc.fabric.mixin.itemgroup.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"CreativeInventoryScreenMixin" "CreativeInventoryScreenMixin"
], ],

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.itemgroup", "package": "net.fabricmc.fabric.mixin.itemgroup",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"ItemGroupAccessor", "ItemGroupAccessor",
"ItemGroupMixin", "ItemGroupMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-resource-loader-v0": "*" "fabric-resource-loader-v0": "*"
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.client.keybinding", "package": "net.fabricmc.fabric.mixin.client.keybinding",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"KeyBindingAccessor", "KeyBindingAccessor",
"GameOptionsMixin" "GameOptionsMixin"

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Key Binding registry API.", "description": "Key Binding registry API.",
"mixins": [ "mixins": [

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.event.lifecycle.client", "package": "net.fabricmc.fabric.mixin.event.lifecycle.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ClientChunkManagerMixin", "ClientChunkManagerMixin",
"ClientPlayNetworkHandlerMixin", "ClientPlayNetworkHandlerMixin",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.event.lifecycle", "package": "net.fabricmc.fabric.mixin.event.lifecycle",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"ChunkGeneratingMixin", "ChunkGeneratingMixin",
"DataPackContentsMixin", "DataPackContentsMixin",

View file

@ -31,7 +31,7 @@
} }
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Events for the game's lifecycle.", "description": "Events for the game's lifecycle.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.loot", "package": "net.fabricmc.fabric.mixin.loot",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"JsonDataLoaderMixin", "JsonDataLoaderMixin",
"ReloadableRegistriesMixin", "ReloadableRegistriesMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-resource-loader-v0": "*" "fabric-resource-loader-v0": "*"
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.client.message", "package": "net.fabricmc.fabric.mixin.client.message",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ClientPlayNetworkHandlerMixin", "ClientPlayNetworkHandlerMixin",
"MessageHandlerMixin" "MessageHandlerMixin"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.message", "package": "net.fabricmc.fabric.mixin.message",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"MinecraftServerMixin", "MinecraftServerMixin",
"PlayerManagerMixin" "PlayerManagerMixin"

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Adds message-related hooks.", "description": "Adds message-related hooks.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.client.model.loading", "package": "net.fabricmc.fabric.mixin.client.model.loading",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"BakedModelManagerMixin", "BakedModelManagerMixin",
"BlockStatesLoaderMixin", "BlockStatesLoaderMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Provides hooks for model loading.", "description": "Provides hooks for model loading.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.networking.client", "package": "net.fabricmc.fabric.mixin.networking.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"accessor.ClientCommonNetworkHandlerAccessor", "accessor.ClientCommonNetworkHandlerAccessor",
"accessor.ClientConfigurationNetworkHandlerAccessor", "accessor.ClientConfigurationNetworkHandlerAccessor",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.networking", "package": "net.fabricmc.fabric.mixin.networking",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"PacketCodecDispatcherMixin", "PacketCodecDispatcherMixin",
"ClientConnectionMixin", "ClientConnectionMixin",

View file

@ -26,7 +26,7 @@
}, },
"accessWidener": "fabric-networking-api-v1.accesswidener", "accessWidener": "fabric-networking-api-v1.accesswidener",
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Low-level, vanilla protocol oriented networking hooks.", "description": "Low-level, vanilla protocol oriented networking hooks.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.object.builder.client", "package": "net.fabricmc.fabric.mixin.object.builder.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"EntityModelLayersMixin", "EntityModelLayersMixin",
"HangingSignEditScreenMixin", "HangingSignEditScreenMixin",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.object.builder", "package": "net.fabricmc.fabric.mixin.object.builder",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"AbstractBlockAccessor", "AbstractBlockAccessor",
"AbstractBlockSettingsAccessor", "AbstractBlockSettingsAccessor",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Builders for objects vanilla has locked down.", "description": "Builders for objects vanilla has locked down.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.client.particle", "package": "net.fabricmc.fabric.mixin.client.particle",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"BlockDustParticleMixin", "BlockDustParticleMixin",
"ParticleManagerMixin", "ParticleManagerMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11" "fabricloader": ">=0.16.2"
}, },
"description": "Hooks for registering custom particles.", "description": "Hooks for registering custom particles.",
"mixins": [ "mixins": [

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.recipe", "package": "net.fabricmc.fabric.mixin.recipe",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"ingredient.IngredientMixin", "ingredient.IngredientMixin",
"ingredient.EncoderHandlerMixin", "ingredient.EncoderHandlerMixin",

View file

@ -20,7 +20,7 @@
], ],
"accessWidener": "fabric-recipe-api-v1.accesswidener", "accessWidener": "fabric-recipe-api-v1.accesswidener",
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-networking-api-v1": "*" "fabric-networking-api-v1": "*"
}, },
"entrypoints": { "entrypoints": {

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.registry.sync.client", "package": "net.fabricmc.fabric.mixin.registry.sync.client",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"BlockColorsMixin", "BlockColorsMixin",
"ClientRegistriesMixin", "ClientRegistriesMixin",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.registry.sync", "package": "net.fabricmc.fabric.mixin.registry.sync",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"BootstrapMixin", "BootstrapMixin",
"ChunkSerializerMixin", "ChunkSerializerMixin",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-networking-api-v1": "*" "fabric-networking-api-v1": "*"
}, },

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.test.registry.sync.mixin", "package": "net.fabricmc.fabric.test.registry.sync.mixin",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"mixins": [ "mixins": [
"PacketCodecsMixin" "PacketCodecsMixin"
], ],

View file

@ -1,7 +1,7 @@
{ {
"required": false, "required": false,
"package": "net.fabricmc.fabric.mixin.renderer.client.debughud", "package": "net.fabricmc.fabric.mixin.renderer.client.debughud",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"DebugHudMixin" "DebugHudMixin"
], ],

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.15-alpha.19.39.a", "minecraft": ">=1.15-alpha.19.39.a",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"minecraft": ">=1.15-alpha.19.39.a", "minecraft": ">=1.15-alpha.19.39.a",
"fabric-api-base": "*", "fabric-api-base": "*",
"fabric-renderer-api-v1": "*" "fabric-renderer-api-v1": "*"

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.client.rendering.fluid", "package": "net.fabricmc.fabric.mixin.client.rendering.fluid",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"FluidRendererMixin" "FluidRendererMixin"
], ],

View file

@ -15,7 +15,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Hooks for registering fluid renders.", "description": "Hooks for registering fluid renders.",

View file

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "net.fabricmc.fabric.mixin.client.rendering", "package": "net.fabricmc.fabric.mixin.client.rendering",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"client": [ "client": [
"ArmorFeatureRendererMixin", "ArmorFeatureRendererMixin",
"AtlasSourceManagerAccessor", "AtlasSourceManagerAccessor",

View file

@ -16,7 +16,7 @@
"FabricMC" "FabricMC"
], ],
"depends": { "depends": {
"fabricloader": ">=0.15.11", "fabricloader": ">=0.16.2",
"fabric-api-base": "*" "fabric-api-base": "*"
}, },
"description": "Hooks and registries for rendering-related things.", "description": "Hooks and registries for rendering-related things.",

View file

@ -19,12 +19,9 @@ package net.fabricmc.fabric.api.resource.conditions.v1;
import java.util.List; import java.util.List;
import com.mojang.serialization.Codec; import com.mojang.serialization.Codec;
import net.minecraft.registry.RegistryOps;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
import net.minecraft.registry.RegistryWrapper; import net.minecraft.registry.RegistryOps;
/** /**
* A resource condition. To create a custom condition type, implement this interface, * A resource condition. To create a custom condition type, implement this interface,

Some files were not shown because too many files have changed in this diff Show more