Jump to content

Recommended Posts

Posted

I'm working on a modpack and I've been using a datapack to add various tags to some items. So far, this has worked perfectly, except for one specific tag: "forge:tools/knives". The mod Farmers Delight, and its add-ons, use this tag to determine what items work on its cutting boards; however, all of the knives in the mod (and its add-ons) are assigned the tag "forge:fillet_knife" (which is not used in this modpack) and no items have the tag "forge:tools/knives". The problem comes from when I try to add the tag to an item, as the game seemingly does not accept it. It accepts other tags, such as "forge:knives" and "forge:tool/knives", but not the aforementioned tag.

Upon realizing that it was simply refusing to add that specific tag, I dug through the debug log and found this:

[12Jun2023 11:55:41.926] [Worker-ResourceReload-0/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag [#forge:tools/knives (from FarmersDelight-1.19-1.2.1.jar), #forge:tools/knives (from Foodtags)] as it is missing following references: #forge:tools/knives (from FarmersDelight-1.19-1.2.1.jar), #forge:tools/knives (from Foodtags)
[12Jun2023 11:55:41.928] [Worker-ResourceReload-0/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag [#farmersdelight:tools/knives (from FarmersDelight-1.19-1.2.1.jar)] as it is missing following references: #farmersdelight:tools/knives (from FarmersDelight-1.19-1.2.1.jar)
[12Jun2023 11:55:41.929] [Worker-ResourceReload-0/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag [#forge:tools/knives (from Delightful-1.19.2-3.3.jar)] as it is missing following references: #forge:tools/knives (from Delightful-1.19.2-3.3.jar)

I'm not entirely sure what that means, but it seems to be suggesting that there are no items assigned to the tag?

Here's the knives.json file that I'm using to declare this tag, located in "datapacks/Foodtags/data/forge/tags/items/tools":

{
	"replace":false,
	"values": [
		"farmersdelight:flint_knife"
	]
}

Also, Foodtags is the name of my datapack by the way.

Any help or thoughts would be welcome.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.