Skip to content

Commit

Permalink
Tag fixes
Browse files Browse the repository at this point in the history
- Use new tag structure for multiloader compatible tags, supporting both reference and inclusions. Fixes #224.
- Fix compat recipes to use the correct method of specifying conditions.
  • Loading branch information
alcatrazEscapee committed Jul 20, 2022
1 parent 43c323c commit 0edaa92
Show file tree
Hide file tree
Showing 98 changed files with 647 additions and 476 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "minecraft:shears"
"tag": "notreepunching:shears"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
"tag": "notreepunching:shears"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"#notreepunching:cobblestone"
"#notreepunching:h/cobblestone"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"#notreepunching:cobblestone"
"#notreepunching:h/cobblestone"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:gems/diamond"
"tag": "notreepunching:diamond_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:gems/diamond"
"tag": "notreepunching:diamond_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:gems/diamond"
"tag": "notreepunching:diamond_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:ingots/gold"
"tag": "notreepunching:gold_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:ingots/gold"
"tag": "notreepunching:gold_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:ingots/gold"
"tag": "notreepunching:gold_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:ingots/iron"
"tag": "notreepunching:iron_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:ingots/iron"
"tag": "notreepunching:iron_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"conditions": {
"items": [
{
"tag": "forge:ingots/iron"
"tag": "notreepunching:iron_ingots"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:gems/diamond"
"tag": "notreepunching:diamond_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:gems/diamond"
"tag": "notreepunching:diamond_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:gems/diamond"
"tag": "notreepunching:diamond_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:ingots/gold"
"tag": "notreepunching:gold_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:ingots/gold"
"tag": "notreepunching:gold_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:ingots/gold"
"tag": "notreepunching:gold_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:ingots/iron"
"tag": "notreepunching:iron_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:ingots/iron"
"tag": "notreepunching:iron_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tag": "notreepunching:sticks"
},
"I": {
"tag": "forge:ingots/iron"
"tag": "notreepunching:iron_ingots"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"notreepunching:granite_cobblestone",
"notreepunching:andesite_cobblestone",
"notreepunching:granite_cobblestone",
"notreepunching:diorite_cobblestone"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"minecraft:diamond",
{
"id": "#c:diamonds",
"required": false
},
{
"id": "#forge:ingots/diamond",
"required": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"minecraft:gold_ingot",
{
"id": "#c:gold_ingots",
"required": false
},
{
"id": "#forge:ingots/gold",
"required": false
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"notreepunching:granite_cobblestone",
"notreepunching:andesite_cobblestone",
"notreepunching:granite_cobblestone",
"notreepunching:diorite_cobblestone"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"notreepunching:iron_knife",
"notreepunching:gold_knife",
"notreepunching:diamond_knife",
"notreepunching:netherite_knife"
"notreepunching:netherite_knife",
"notreepunching:flint_knife"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"notreepunching:plant_string"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"notreepunching:flint_axe"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"minecraft:iron_ingot",
{
"id": "#c:iron_ingots",
"required": false
},
{
"id": "#forge:ingots/iron",
"required": false
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"notreepunching:iron_knife",
"notreepunching:gold_knife",
"notreepunching:diamond_knife",
"notreepunching:netherite_knife",
"notreepunching:flint_knife"
"#notreepunching:h/knives",
{
"id": "#c:knives",
"required": false
},
{
"id": "#forge:tools/knives",
"required": false
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"notreepunching:iron_mattock",
"notreepunching:gold_mattock",
"notreepunching:diamond_mattock",
"notreepunching:netherite_mattock"
"#notreepunching:h/mattocks",
{
"id": "#c:mattocks",
"required": false
},
{
"id": "#forge:tools/mattocks",
"required": false
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"notreepunching:iron_saw",
"notreepunching:gold_saw",
"notreepunching:diamond_saw",
"notreepunching:netherite_saw"
"#notreepunching:h/saws",
{
"id": "#c:saws",
"required": false
},
{
"id": "#forge:tools/saws",
"required": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"minecraft:shears",
{
"id": "#c:shears",
"required": false
},
{
"id": "#forge:shears",
"required": false
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@
"__comment__": "This file was automatically created by mcresources",
"replace": false,
"values": [
"minecraft:stick",
{
"id": "#forge:rods/wooden",
"id": "#c:wood_sticks",
"required": false
},
{
"id": "#c:wooden_rods",
"required": false
},
"minecraft:stick"
{
"id": "#forge:rods/wooden",
"required": false
}
]
}
Loading

0 comments on commit 0edaa92

Please sign in to comment.