Skip to content

Commit 1e7d335

Browse files
committed
datagen
1 parent d254c67 commit 1e7d335

10 files changed

Lines changed: 152 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"model": {
3+
"type": "minecraft:model",
4+
"model": "cakesticklib:item/glass_dust"
5+
}
6+
}

src/generated/resources/assets/cakesticklib/lang/en_us.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
"item.cakesticklib.fossil": "Fossil",
100100
"item.cakesticklib.galena_deposit": "Galena Deposit",
101101
"item.cakesticklib.gear_mold": "Gear Mold",
102+
"item.cakesticklib.glass_dust": "Glass Dust",
102103
"item.cakesticklib.gold_coil": "Gold Coil",
103104
"item.cakesticklib.gold_dust": "Gold Dust",
104105
"item.cakesticklib.gold_foil": "Gold Foil",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "cakesticklib:item/dust/glass"
5+
}
6+
}

src/generated/resources/data/c/tags/item/dusts.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"values": [
33
"cakesticklib:sulfur_dust",
44
"cakesticklib:amethyst_dust",
5+
"cakesticklib:glass_dust",
56
"cakesticklib:carbon_dust",
67
"cakesticklib:copper_dust",
78
"cakesticklib:diamond_dust",
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"criteria": {
4+
"has_plates/iron": {
5+
"conditions": {
6+
"items": [
7+
{
8+
"items": "#c:plates/iron"
9+
}
10+
]
11+
},
12+
"trigger": "minecraft:inventory_changed"
13+
},
14+
"has_the_recipe": {
15+
"conditions": {
16+
"recipe": "cakesticklib:electron_tube"
17+
},
18+
"trigger": "minecraft:recipe_unlocked"
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_plates/iron"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"cakesticklib:electron_tube"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"criteria": {
4+
"cakesticklib": {
5+
"conditions": {
6+
"items": [
7+
{
8+
"items": "cakesticklib:hammer"
9+
}
10+
]
11+
},
12+
"trigger": "minecraft:inventory_changed"
13+
},
14+
"has_the_recipe": {
15+
"conditions": {
16+
"recipe": "cakesticklib:tool_use/glass_dust"
17+
},
18+
"trigger": "minecraft:recipe_unlocked"
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"cakesticklib"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"cakesticklib:tool_use/glass_dust"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"criteria": {
4+
"cakesticklib": {
5+
"conditions": {
6+
"items": [
7+
{
8+
"items": "cakesticklib:hammer"
9+
}
10+
]
11+
},
12+
"trigger": "minecraft:inventory_changed"
13+
},
14+
"has_the_recipe": {
15+
"conditions": {
16+
"recipe": "cakesticklib:tool_use/resin_clump"
17+
},
18+
"trigger": "minecraft:recipe_unlocked"
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"cakesticklib"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"cakesticklib:tool_use/resin_clump"
30+
]
31+
}
32+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"type": "minecraft:crafting_shaped",
3+
"category": "misc",
4+
"key": {
5+
"A": "cakesticklib:advanced_alloy_nugget",
6+
"C": "#c:nuggets/copper",
7+
"D": "cakesticklib:resistor",
8+
"G": "cakesticklib:glass_dust"
9+
},
10+
"pattern": [
11+
" G ",
12+
"DAD",
13+
" C "
14+
],
15+
"result": {
16+
"id": "cakesticklib:electron_tube"
17+
}
18+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"type": "minecraft:crafting_shapeless",
3+
"category": "misc",
4+
"group": "hammering",
5+
"ingredients": [
6+
"cakesticklib:hammer",
7+
"#c:glass_blocks"
8+
],
9+
"result": {
10+
"id": "cakesticklib:glass_dust"
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"type": "minecraft:crafting_shapeless",
3+
"category": "misc",
4+
"group": "hammering",
5+
"ingredients": [
6+
"cakesticklib:hammer",
7+
"minecraft:resin_brick"
8+
],
9+
"result": {
10+
"id": "minecraft:resin_clump"
11+
}
12+
}

0 commit comments

Comments
 (0)