-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Acey edited this page Jun 1, 2026
·
5 revisions
The mod allows you to add new lids and custom jam recipes using datapacks.
To add a new lid, create a JSON file inside:
data/<your_namespace>/jammies/lid/yourlid.json
{
"lid_item": {
"item": "tfc:jar_lid"
},
"return_chance": 0.75,
"translation_key": "jammies.tfc.jar_lid"
}-
lid_item: The item to use as a lid. Must reference an existing item. -
return_chance(Optional) : Chance (between 0.0 – 1.0) for the lid to be returned when unsealing, defaults to 1.0. -
translation_key(optional) : Custom name translation key for the lid. If not included, the default item name is used.
After adding your lid, include it in the jammies:lids item tag:
data/jammies/tags/item/lids.json
{
"replace": false,
"values": [
"yourmod:custom_lid"
]
}Jammies introduces two new recipe types:
jammies:jar_sealingjammies:jar_unsealing
Used to seal unsealed jars with a lid.
{
"type": "jammies:jar_sealing",
"jar": {
"item": "tfc:jar/green_apple_unsealed"
},
"lid": {
"tag": "jammies:lids"
},
"result": {
"count": 1,
"id": "tfc:jar/green_apple"
}
}-
jar: The unsealed jar item. -
lid: The lid ingredient or tag (usually jammies:lids). -
result: The sealed jar output.
{
"type": "jammies:jar_unsealing",
"jar": {
"item": "tfc:jar/green_apple"
},
"result": {
"count": 1,
"id": "tfc:jar/green_apple_unsealed"
}
}-
jar: The sealed jar input. -
result: The unsealed jar output. -
always_return_lid(optional : (true/false)) : Whentruethe return chance is ignored and the lid is always returned.
- There is no recipe addition for right-click unsealing, it works as long as there is a valid
Unsealing Recipefor the Jar
-
jammies:copy_lid: Copies the lid information from the input to the output -
jammies:add_lid: Add the lid used information to the output -
jammies:copy_date: Copies the exact date info from the input to the output