-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Recipe Provider not calling generate (#4078)
* Fix Recipe Provider not calling generate * Commit data generated files to repo
- Loading branch information
Showing
48 changed files
with
779 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/src/testmod/generated | ||
/src/testmod/generated/.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_that_drops_nothing.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "fabric-data-gen-api-v1-testmod:block/block_that_drops_nothing" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...ated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_with_vanilla_loot_table.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "fabric-data-gen-api-v1-testmod:block/block_with_vanilla_loot_table" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...stmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_item.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "fabric-data-gen-api-v1-testmod:block/block_without_item" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_loot_table.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "fabric-data-gen-api-v1-testmod:block/block_without_loot_table" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/simple_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "fabric-data-gen-api-v1-testmod:block/simple_block" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...ration-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/en_us.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"attribute.name.armor": "Generic Armor", | ||
"block.fabric-data-gen-api-v1-testmod.simple_block": "Simple Block", | ||
"entity.minecraft.allay": "Allay", | ||
"fabric-data-gen-api-v1-testmod.identifier_test": "Identifier Test", | ||
"itemGroup.fabric-data-gen-api-v1-testmod.default": "Datagen Itemgroup" | ||
} |
5 changes: 5 additions & 0 deletions
5
...ration-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/ja_jp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"block.fabric-data-gen-api-v1-testmod.simple_block": "シンプルブロック", | ||
"fabric-data-gen-api-v1-testmod.simple_item_group": "データ生成項目", | ||
"this.is.a.test": "こんにちは" | ||
} |
6 changes: 6 additions & 0 deletions
6
...enerated/assets/fabric-data-gen-api-v1-testmod/models/block/block_that_drops_nothing.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "fabric-data-gen-api-v1-testmod:block/block_that_drops_nothing" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...ted/assets/fabric-data-gen-api-v1-testmod/models/block/block_with_vanilla_loot_table.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "fabric-data-gen-api-v1-testmod:block/block_with_vanilla_loot_table" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...tmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_item.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "fabric-data-gen-api-v1-testmod:block/block_without_item" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...enerated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_loot_table.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "fabric-data-gen-api-v1-testmod:block/block_without_loot_table" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...rc/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/simple_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "fabric-data-gen-api-v1-testmod:block/simple_block" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
...src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/item/simple_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "fabric-data-gen-api-v1-testmod:block/simple_block" | ||
} |
32 changes: 32 additions & 0 deletions
32
...data/fabric-data-gen-api-v1-testmod/advancement/recipes/building_blocks/simple_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_log": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "#minecraft:acacia_logs" | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "fabric-data-gen-api-v1-testmod:simple_block" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_log" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"fabric-data-gen-api-v1-testmod:simple_block" | ||
] | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...estmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/beacon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_payment": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "#minecraft:beacon_payment_items" | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "minecraft:beacon" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_payment" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"minecraft:beacon" | ||
] | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...stmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:true" | ||
} | ||
], | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_stick": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:stick" | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "minecraft:diamond" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_stick" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"minecraft:diamond" | ||
] | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_pickaxe": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:diamond_pickaxe" | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "minecraft:diamond_block" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_pickaxe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"minecraft:diamond_block" | ||
] | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...d/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_ore.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:registry_contains", | ||
"registry": "minecraft:item", | ||
"values": [ | ||
"minecraft:diamond_block" | ||
] | ||
} | ||
], | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_frame": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:item_frame" | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "minecraft:diamond_ore" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_frame" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"minecraft:diamond_ore" | ||
] | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...stmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/emerald.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:registry_contains", | ||
"registry": "minecraft:worldgen/biome", | ||
"values": [ | ||
"minecraft:plains", | ||
"minecraft:badlands" | ||
] | ||
} | ||
], | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_frame": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:item_frame" | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "minecraft:emerald" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_frame" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"minecraft:emerald" | ||
] | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...od/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_pickaxe": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:golden_pickaxe" | ||
} | ||
] | ||
} | ||
}, | ||
"has_shovel": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": "minecraft:golden_shovel" | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "minecraft:gold_block" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_pickaxe", | ||
"has_shovel" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"minecraft:gold_block" | ||
] | ||
} | ||
} |
Oops, something went wrong.