diff --git a/patches/api/DataComponent-API.patch b/patches/api/DataComponent-API.patch index 1850a6cf53..d7c4dff8e7 100644 --- a/patches/api/DataComponent-API.patch +++ b/patches/api/DataComponent-API.patch @@ -1307,13 +1307,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + Builder equipSound(Key sound); + + /** -+ * Sets the model key for this item. ++ * Sets the asset id for this item. + * -+ * @param model the model key, nullable ++ * @param assetId the asset id, nullable + * @return the builder for chaining + */ + @Contract(value = "_ -> this", mutates = "this") -+ Builder assetId(@Nullable Key model); ++ Builder assetId(@Nullable Key assetId); + + /** + * Sets the camera overlay key for this item. diff --git a/patches/server/DataComponent-API.patch b/patches/server/DataComponent-API.patch index 4073274bdf..5a0a7f4b7d 100644 --- a/patches/server/DataComponent-API.patch +++ b/patches/server/DataComponent-API.patch @@ -1376,8 +1376,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + + @Override -+ public Builder assetId(final @Nullable Key model) { -+ this.assetId = Optional.ofNullable(model) ++ public Builder assetId(final @Nullable Key assetId) { ++ this.assetId = Optional.ofNullable(assetId) + .map(key -> PaperAdventure.asVanilla(EquipmentAssets.ROOT_ID, key)); + + return this; @@ -1422,7 +1422,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + new net.minecraft.world.item.equipment.Equippable( + this.equipmentSlot, + this.equipSound, -+ null, // TODO ++ this.assetId, + this.cameraOverlay, + this.allowedEntities, + this.dispensable,