providerSupplier);
-}
diff --git a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelProviderContext.java b/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelProviderContext.java
deleted file mode 100644
index 96b097d28..000000000
--- a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelProviderContext.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2016, 2017, 2018, 2019 FabricMC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.fabricmc.fabric.api.client.model;
-
-import net.minecraft.client.render.model.UnbakedModel;
-import net.minecraft.client.util.ModelIdentifier;
-import net.minecraft.util.Identifier;
-
-import net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin;
-
-/**
- * The model loading context used during model providing.
- * @deprecated Use {@link ModelLoadingPlugin} and related classes instead.
- */
-@Deprecated
-public interface ModelProviderContext {
- /**
- * Load a model using a {@link Identifier}, {@link ModelIdentifier}, ...
- *
- * Please note that the game engine keeps track of circular model loading calls on its own.
- *
- * @param id The model identifier.
- * @return The UnbakedModel. Can return a missing model if it's not present!
- */
- UnbakedModel loadModel(Identifier id);
-}
diff --git a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelProviderException.java b/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelProviderException.java
deleted file mode 100644
index 41805578c..000000000
--- a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelProviderException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2016, 2017, 2018, 2019 FabricMC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.fabricmc.fabric.api.client.model;
-
-import net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin;
-
-/**
- * @deprecated Use {@link ModelLoadingPlugin} and related classes instead.
- */
-@Deprecated
-public class ModelProviderException extends Exception {
- public ModelProviderException(String s) {
- super(s);
- }
-
- public ModelProviderException(String s, Throwable t) {
- super(s, t);
- }
-}
diff --git a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelResourceProvider.java b/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelResourceProvider.java
deleted file mode 100644
index caf7b1a49..000000000
--- a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelResourceProvider.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2016, 2017, 2018, 2019 FabricMC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.fabricmc.fabric.api.client.model;
-
-import org.jetbrains.annotations.Nullable;
-
-import net.minecraft.client.render.model.UnbakedModel;
-import net.minecraft.util.Identifier;
-
-import net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin;
-
-/**
- * Interface for model resource providers.
- *
- *
Model resource providers hook the loading of model *files* from the resource tree;
- * that is, in vanilla, it handles going from "minecraft:block/stone" to a
- * "assets/minecraft/models/block/stone.json" file.
- *
- *
This is where you want to add your own custom model formats.
- *
- *
As providers are instantiated with a new provider, it is safe
- * (and recommended!) to cache information inside a loader.
- *
- *
Keep in mind that only *one* ModelResourceProvider may respond to a given model
- * at any time. If you're writing, say, an OBJ loader, this means you could
- * easily conflict with another OBJ loader unless you take some precautions,
- * for example:
- *
- *
- Only load files with a mod-suffixed name, such as .architect.obj,
- *
- Only load files from an explicit list of namespaces, registered elsewhere.
- *
- * @deprecated Use {@link ModelLoadingPlugin} and related classes instead.
- */
-@Deprecated
-@FunctionalInterface
-public interface ModelResourceProvider {
- /**
- * @param resourceId The resource identifier to be loaded.
- * @return The loaded UnbakedModel, or null if this ModelResourceProvider doesn't handle a specific Identifier
- * (or if there was no error!).
- */
- @Nullable
- UnbakedModel loadModelResource(Identifier resourceId, ModelProviderContext context) throws ModelProviderException;
-}
diff --git a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelVariantProvider.java b/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelVariantProvider.java
deleted file mode 100644
index 1fdf970b2..000000000
--- a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/api/client/model/ModelVariantProvider.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2016, 2017, 2018, 2019 FabricMC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.fabricmc.fabric.api.client.model;
-
-import org.jetbrains.annotations.Nullable;
-
-import net.minecraft.client.render.model.UnbakedModel;
-import net.minecraft.client.util.ModelIdentifier;
-
-import net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin;
-
-/**
- * Interface for model variant providers.
- *
- * Model variant providers hook the resolution of ModelIdentifiers. In vanilla, this is
- * the part where a "minecraft:stone#normal" identifier triggers the loading of a
- * "minecraft:models/stone" model ({@link ModelResourceProvider} handles the later step).
- *
- *
The most common use of this is to cooperate with a {@link ModelAppender}, but it can
- * also allow you to add your own block- or item-state formats. To trigger the loading
- * of another model, use the passed {@link ModelProviderContext}.
- *
- *
As every model loading is instantiated with a new provider, it is safe
- * (and recommended!) to cache information.
- *
- *
Keep in mind that only *one* ModelVariantProvider may respond to a given model
- * at any time.
- *
- * @deprecated Use {@link ModelLoadingPlugin} and related classes instead.
- */
-@Deprecated
-@FunctionalInterface
-public interface ModelVariantProvider {
- /**
- * @param modelId The model identifier, complete with variant.
- * @return The loaded UnbakedModel, or null if this ModelVariantProvider doesn't handle a specific Identifier
- * (or if there was no error!).
- */
- @Nullable
- UnbakedModel loadModelVariant(ModelIdentifier modelId, ModelProviderContext context) throws ModelProviderException;
-}
diff --git a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/impl/client/model/ModelLoadingRegistryImpl.java b/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/impl/client/model/ModelLoadingRegistryImpl.java
deleted file mode 100644
index 6ab871a58..000000000
--- a/deprecated/fabric-models-v0/src/client/java/net/fabricmc/fabric/impl/client/model/ModelLoadingRegistryImpl.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * Copyright (c) 2016, 2017, 2018, 2019 FabricMC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.fabricmc.fabric.impl.client.model;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.concurrent.CompletableFuture;
-import java.util.function.Consumer;
-import java.util.function.Function;
-
-import net.minecraft.client.util.ModelIdentifier;
-import net.minecraft.resource.ResourceManager;
-import net.minecraft.util.Identifier;
-
-import net.fabricmc.fabric.api.client.model.ExtraModelProvider;
-import net.fabricmc.fabric.api.client.model.ModelAppender;
-import net.fabricmc.fabric.api.client.model.ModelLoadingRegistry;
-import net.fabricmc.fabric.api.client.model.ModelProviderContext;
-import net.fabricmc.fabric.api.client.model.ModelProviderException;
-import net.fabricmc.fabric.api.client.model.ModelResourceProvider;
-import net.fabricmc.fabric.api.client.model.ModelVariantProvider;
-import net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin;
-import net.fabricmc.fabric.api.client.model.loading.v1.PreparableModelLoadingPlugin;
-import net.fabricmc.fabric.impl.client.model.loading.ModelLoaderPluginContextImpl;
-
-public class ModelLoadingRegistryImpl implements ModelLoadingRegistry {
- private final List modelProviders = new ArrayList<>();
- private final List modelAppenders = new ArrayList<>();
- private final List> resourceProviderSuppliers = new ArrayList<>();
- private final List> variantProviderSuppliers = new ArrayList<>();
-
- {
- // Grabs the resource manager to use it in the main model loading code.
- // When using the v1 API, data should be loaded in parallel before model loading starts.
- PreparableModelLoadingPlugin.register(
- (resourceManager, executor) -> CompletableFuture.completedFuture(resourceManager),
- this::onInitializeModelLoader);
- }
-
- private void onInitializeModelLoader(ResourceManager resourceManager, ModelLoadingPlugin.Context pluginContext) {
- Consumer extraModelConsumer = pluginContext::addModels;
- Consumer extraModelConsumer2 = pluginContext::addModels;
- // A bit hacky, but avoids the allocation of a new context wrapper every time.
- ModelProviderContext resourceProviderContext = ((ModelLoaderPluginContextImpl) pluginContext).modelGetter::apply;
-
- for (ExtraModelProvider provider : modelProviders) {
- provider.provideExtraModels(resourceManager, extraModelConsumer);
- }
-
- for (ModelAppender appender : modelAppenders) {
- appender.appendAll(resourceManager, extraModelConsumer2);
- }
-
- for (Function supplier : resourceProviderSuppliers) {
- ModelResourceProvider provider = supplier.apply(resourceManager);
-
- pluginContext.resolveModel().register(resolverContext -> {
- try {
- return provider.loadModelResource(resolverContext.id(), resourceProviderContext);
- } catch (ModelProviderException e) {
- throw new RuntimeException(e);
- }
- });
- }
-
- for (Function supplier : variantProviderSuppliers) {
- ModelVariantProvider provider = supplier.apply(resourceManager);
- ((ModelLoaderPluginContextImpl) pluginContext).legacyVariantProviders().register(modelId -> {
- try {
- return provider.loadModelVariant(modelId, resourceProviderContext);
- } catch (ModelProviderException e) {
- throw new RuntimeException(e);
- }
- });
- }
- }
-
- @Override
- public void registerModelProvider(ExtraModelProvider provider) {
- modelProviders.add(provider);
- }
-
- @Override
- public void registerAppender(ModelAppender appender) {
- modelAppenders.add(appender);
- }
-
- @Override
- public void registerResourceProvider(Function providerSupplier) {
- resourceProviderSuppliers.add(providerSupplier);
- }
-
- @Override
- public void registerVariantProvider(Function providerSupplier) {
- variantProviderSuppliers.add(providerSupplier);
- }
-}
diff --git a/deprecated/fabric-models-v0/src/client/resources/assets/fabric-models-v0/icon.png b/deprecated/fabric-models-v0/src/client/resources/assets/fabric-models-v0/icon.png
deleted file mode 100644
index 2931efbf6..000000000
Binary files a/deprecated/fabric-models-v0/src/client/resources/assets/fabric-models-v0/icon.png and /dev/null differ
diff --git a/deprecated/fabric-models-v0/src/client/resources/fabric.mod.json b/deprecated/fabric-models-v0/src/client/resources/fabric.mod.json
deleted file mode 100644
index 37ef8f077..000000000
--- a/deprecated/fabric-models-v0/src/client/resources/fabric.mod.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "schemaVersion": 1,
- "id": "fabric-models-v0",
- "name": "Fabric Models (v0)",
- "version": "${version}",
- "environment": "client",
- "license": "Apache-2.0",
- "icon": "assets/fabric-models-v0/icon.png",
- "contact": {
- "homepage": "https://fabricmc.net",
- "irc": "irc://irc.esper.net:6667/fabric",
- "issues": "https://github.com/FabricMC/fabric/issues",
- "sources": "https://github.com/FabricMC/fabric"
- },
- "authors": [
- "FabricMC"
- ],
- "depends": {
- "fabricloader": ">=0.15.11",
- "fabric-api-base": "*",
- "fabric-model-loading-api-v1": "*"
- },
- "description": "Hooks for models and model loading.",
- "custom": {
- "fabric-api:module-lifecycle": "deprecated"
- }
-}
diff --git a/fabric-api-lookup-api-v1/src/testmodClient/java/net/fabricmc/fabric/test/lookup/client/entity/InspectablePigEntityRenderer.java b/fabric-api-lookup-api-v1/src/testmodClient/java/net/fabricmc/fabric/test/lookup/client/entity/InspectablePigEntityRenderer.java
index e8e092f49..d53a0ea4a 100644
--- a/fabric-api-lookup-api-v1/src/testmodClient/java/net/fabricmc/fabric/test/lookup/client/entity/InspectablePigEntityRenderer.java
+++ b/fabric-api-lookup-api-v1/src/testmodClient/java/net/fabricmc/fabric/test/lookup/client/entity/InspectablePigEntityRenderer.java
@@ -22,7 +22,7 @@ import net.minecraft.entity.passive.PigEntity;
import net.minecraft.util.Identifier;
public class InspectablePigEntityRenderer extends PigEntityRenderer {
- private static final Identifier TEXTURE = Identifier.ofDefaultNamespace("missingno");
+ private static final Identifier TEXTURE = Identifier.ofVanilla("missingno");
public InspectablePigEntityRenderer(EntityRendererFactory.Context context) {
super(context);
diff --git a/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java b/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java
index fdaa28147..233fee54a 100644
--- a/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java
+++ b/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java
@@ -140,7 +140,7 @@ public final class ContentRegistryTest implements ModInitializer {
VillagerInteractionRegistries.registerCollectable(Items.OAK_SAPLING);
- VillagerInteractionRegistries.registerGiftLootTable(VillagerProfession.NITWIT, RegistryKey.of(RegistryKeys.LOOT_TABLE, Identifier.ofDefaultNamespace("fake_loot_table")));
+ VillagerInteractionRegistries.registerGiftLootTable(VillagerProfession.NITWIT, RegistryKey.of(RegistryKeys.LOOT_TABLE, Identifier.ofVanilla("fake_loot_table")));
Registry.register(Registries.BLOCK, TEST_EVENT_ID, new TestEventBlock(AbstractBlock.Settings.copy(Blocks.STONE)));
SculkSensorFrequencyRegistry.register(TEST_EVENT.registryKey(), 2);
diff --git a/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/mixin/attachment/ChunkSerializerMixin.java b/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/mixin/attachment/ChunkSerializerMixin.java
index 32d5d9a06..7915dc5c2 100644
--- a/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/mixin/attachment/ChunkSerializerMixin.java
+++ b/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/mixin/attachment/ChunkSerializerMixin.java
@@ -30,6 +30,7 @@ import net.minecraft.world.chunk.Chunk;
import net.minecraft.world.chunk.ProtoChunk;
import net.minecraft.world.chunk.WorldChunk;
import net.minecraft.world.poi.PointOfInterestStorage;
+import net.minecraft.world.storage.StorageKey;
import net.fabricmc.fabric.impl.attachment.AttachmentTargetImpl;
@@ -42,7 +43,7 @@ abstract class ChunkSerializerMixin {
),
method = "deserialize"
)
- private static WorldChunk readWorldChunkAttachments(WorldChunk chunk, ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) {
+ private static WorldChunk readWorldChunkAttachments(WorldChunk chunk, ServerWorld world, PointOfInterestStorage poiStorage, StorageKey storageKey, ChunkPos chunkPos, NbtCompound nbt) {
((AttachmentTargetImpl) chunk).fabric_readAttachmentsFromNbt(nbt, world.getRegistryManager());
return chunk;
}
@@ -54,7 +55,7 @@ abstract class ChunkSerializerMixin {
),
method = "deserialize"
)
- private static ProtoChunk readProtoChunkAttachments(ProtoChunk chunk, ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) {
+ private static ProtoChunk readProtoChunkAttachments(ProtoChunk chunk, ServerWorld world, PointOfInterestStorage poiStorage, StorageKey storageKey, ChunkPos chunkPos, NbtCompound nbt) {
((AttachmentTargetImpl) chunk).fabric_readAttachmentsFromNbt(nbt, world.getRegistryManager());
return chunk;
}
diff --git a/fabric-data-attachment-api-v1/src/test/java/net/fabricmc/fabric/test/attachment/CommonAttachmentTests.java b/fabric-data-attachment-api-v1/src/test/java/net/fabricmc/fabric/test/attachment/CommonAttachmentTests.java
index 989e62b74..f67f614af 100644
--- a/fabric-data-attachment-api-v1/src/test/java/net/fabricmc/fabric/test/attachment/CommonAttachmentTests.java
+++ b/fabric-data-attachment-api-v1/src/test/java/net/fabricmc/fabric/test/attachment/CommonAttachmentTests.java
@@ -156,7 +156,7 @@ public class CommonAttachmentTests {
var nbt = new NbtCompound();
assertNull(AttachmentSerializingImpl.deserializeAttachmentData(nbt, mockDRM()));
- nbt.put(Identifier.ofDefaultNamespace("test").toString(), new NbtCompound());
+ nbt.put(Identifier.ofVanilla("test").toString(), new NbtCompound());
assertNull(AttachmentSerializingImpl.deserializeAttachmentData(nbt, mockDRM()));
}
diff --git a/fabric-data-attachment-api-v1/src/testmod/java/net/fabricmc/fabric/test/attachment/gametest/AttachmentCopyTests.java b/fabric-data-attachment-api-v1/src/testmod/java/net/fabricmc/fabric/test/attachment/gametest/AttachmentCopyTests.java
index 1a1811c25..d86b43234 100644
--- a/fabric-data-attachment-api-v1/src/testmod/java/net/fabricmc/fabric/test/attachment/gametest/AttachmentCopyTests.java
+++ b/fabric-data-attachment-api-v1/src/testmod/java/net/fabricmc/fabric/test/attachment/gametest/AttachmentCopyTests.java
@@ -57,7 +57,7 @@ public class AttachmentCopyTests implements FabricGameTest {
entity.setAttached(DUMMY, () -> 10);
entity.setAttached(COPY_ON_DEATH, () -> 10);
- Entity moved = entity.teleportTo(new TeleportTarget(end));
+ Entity moved = entity.teleportTo(new TeleportTarget(end, entity, TeleportTarget.field_52245));
if (moved == null) throw new GameTestException("Cross-world teleportation failed");
IntSupplier attached1 = moved.getAttached(DUMMY);
diff --git a/fabric-data-generation-api-v1/src/main/resources/fabric-data-generation-api-v1.accesswidener b/fabric-data-generation-api-v1/src/main/resources/fabric-data-generation-api-v1.accesswidener
index ab1355fe6..c8cf17b00 100644
--- a/fabric-data-generation-api-v1/src/main/resources/fabric-data-generation-api-v1.accesswidener
+++ b/fabric-data-generation-api-v1/src/main/resources/fabric-data-generation-api-v1.accesswidener
@@ -117,7 +117,7 @@ transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider off
transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider offerReversibleCompactingRecipes (Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider offerSmithingTemplateCopyingRecipe (Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/registry/tag/TagKey;)V
transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider offerSmithingTemplateCopyingRecipe (Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/item/ItemConvertible;)V
-transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider method_60922 (Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/Ingredient;)V
+transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider offerSmithingTemplateCopyingRecipe (Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/Ingredient;)V
transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider generateCookingRecipes (Lnet/minecraft/data/server/recipe/RecipeExporter;Ljava/lang/String;Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;I)V
transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider offerFoodCookingRecipe (Lnet/minecraft/data/server/recipe/RecipeExporter;Ljava/lang/String;Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;ILnet/minecraft/item/ItemConvertible;Lnet/minecraft/item/ItemConvertible;F)V
transitive-accessible method net/minecraft/data/server/recipe/RecipeProvider offerWaxingRecipes (Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/resource/featuretoggle/FeatureSet;)V
diff --git a/fabric-data-generation-api-v1/src/testmod/java/net/fabricmc/fabric/test/datagen/DataGeneratorTestEntrypoint.java b/fabric-data-generation-api-v1/src/testmod/java/net/fabricmc/fabric/test/datagen/DataGeneratorTestEntrypoint.java
index ad75362e0..d2851b556 100644
--- a/fabric-data-generation-api-v1/src/testmod/java/net/fabricmc/fabric/test/datagen/DataGeneratorTestEntrypoint.java
+++ b/fabric-data-generation-api-v1/src/testmod/java/net/fabricmc/fabric/test/datagen/DataGeneratorTestEntrypoint.java
@@ -373,7 +373,7 @@ public class DataGeneratorTestEntrypoint implements DataGeneratorEntrypoint {
SIMPLE_BLOCK,
Text.translatable("advancements.test.root.title"),
Text.translatable("advancements.test.root.description"),
- Identifier.ofDefaultNamespace("textures/gui/advancements/backgrounds/end.png"),
+ Identifier.ofVanilla("textures/gui/advancements/backgrounds/end.png"),
AdvancementFrame.TASK,
false, false, false)
.criterion("killed_something", OnKilledCriterion.Conditions.createPlayerKilledEntity())
@@ -383,7 +383,7 @@ public class DataGeneratorTestEntrypoint implements DataGeneratorEntrypoint {
SIMPLE_BLOCK,
Text.translatable("advancements.test.root_not_loaded.title"),
Text.translatable("advancements.test.root_not_loaded.description"),
- Identifier.ofDefaultNamespace("textures/gui/advancements/backgrounds/end.png"),
+ Identifier.ofVanilla("textures/gui/advancements/backgrounds/end.png"),
AdvancementFrame.TASK,
false, false, false)
.criterion("killed_something", OnKilledCriterion.Conditions.createPlayerKilledEntity())
diff --git a/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/api/client/item/v1/ItemTooltipCallback.java b/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/api/client/item/v1/ItemTooltipCallback.java
index b5f6b41fc..8367bae40 100644
--- a/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/api/client/item/v1/ItemTooltipCallback.java
+++ b/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/api/client/item/v1/ItemTooltipCallback.java
@@ -18,9 +18,9 @@ package net.fabricmc.fabric.api.client.item.v1;
import java.util.List;
-import net.minecraft.client.item.TooltipType;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
+import net.minecraft.item.tooltip.TooltipType;
import net.minecraft.text.Text;
import net.fabricmc.fabric.api.event.Event;
diff --git a/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/mixin/item/client/ItemStackMixin.java b/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/mixin/item/client/ItemStackMixin.java
index 0ff410cff..b3b001347 100644
--- a/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/mixin/item/client/ItemStackMixin.java
+++ b/fabric-item-api-v1/src/client/java/net/fabricmc/fabric/mixin/item/client/ItemStackMixin.java
@@ -24,10 +24,10 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
-import net.minecraft.client.item.TooltipType;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
+import net.minecraft.item.tooltip.TooltipType;
import net.minecraft.text.Text;
import net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback;
diff --git a/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/mixin/client/model/loading/BakedModelManagerMixin.java b/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/mixin/client/model/loading/BakedModelManagerMixin.java
index d627eb951..f5c9b6488 100644
--- a/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/mixin/client/model/loading/BakedModelManagerMixin.java
+++ b/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/mixin/client/model/loading/BakedModelManagerMixin.java
@@ -28,6 +28,7 @@ import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
+import net.minecraft.class_9824;
import net.minecraft.client.render.model.BakedModel;
import net.minecraft.client.render.model.BakedModelManager;
import net.minecraft.client.render.model.ModelLoader;
@@ -62,8 +63,8 @@ public class BakedModelManagerMixin implements FabricBakedModelManager {
allow = 1)
private CompletableFuture loadModelPluginData(
CompletableFuture