aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/common/recipe.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-11-13 12:34:47 +0930
committermat <git@matdoes.dev>2025-11-13 07:04:52 +0400
commitfbaae39cdf9c5a7a34005a51a37b85f7cdd5ea00 (patch)
tree3126fb34a4e0ac979a1103a8227a2b9a136c1553 /azalea-protocol/src/common/recipe.rs
parenta4312599f7c04709a92b7be238dcf577bafbb14f (diff)
downloadazalea-drasl-fbaae39cdf9c5a7a34005a51a37b85f7cdd5ea00.tar.xz
rename ResourceLocation to Identifier ahead of mojmap changes
Diffstat (limited to 'azalea-protocol/src/common/recipe.rs')
-rw-r--r--azalea-protocol/src/common/recipe.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-protocol/src/common/recipe.rs b/azalea-protocol/src/common/recipe.rs
index 8ab2d5ba..709679f1 100644
--- a/azalea-protocol/src/common/recipe.rs
+++ b/azalea-protocol/src/common/recipe.rs
@@ -1,5 +1,5 @@
use azalea_buf::AzBuf;
-use azalea_core::resource_location::ResourceLocation;
+use azalea_core::identifier::Identifier;
use azalea_inventory::ItemStack;
use azalea_registry::HolderSet;
@@ -56,7 +56,7 @@ pub struct SmithingRecipeDisplay {
#[derive(Clone, Debug, PartialEq, AzBuf)]
pub struct Ingredient {
- pub allowed: HolderSet<azalea_registry::Item, ResourceLocation>,
+ pub allowed: HolderSet<azalea_registry::Item, Identifier>,
}
/// [`azalea_registry::SlotDisplay`]
@@ -66,7 +66,7 @@ pub enum SlotDisplayData {
AnyFuel,
Item(ItemStackDisplay),
ItemStack(ItemStackSlotDisplay),
- Tag(ResourceLocation),
+ Tag(Identifier),
SmithingTrim(Box<SmithingTrimDemoSlotDisplay>),
WithRemainder(Box<WithRemainderSlotDisplay>),
Composite(CompositeSlotDisplay),