Skip to content

Commit

Permalink
🚧 chisel table recipe and lang
Browse files Browse the repository at this point in the history
  • Loading branch information
LocusAzzurro committed Jan 15, 2024
1 parent 03b572e commit d72b6aa
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/generated/resources/.cache/cache
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,7 @@ bc23d6bbde48ea99656d0bdbf86ddd302ba5ad22 data/ultramarine/advancements/recipes/u
4df6dfcf1591a587523823f2e05b4533f4a04196 data/ultramarine/advancements/recipes/ultramarine.materials/wooden_parts.json
33af8c4bfc98412ef5492fee094524e5b0713235 data/ultramarine/advancements/recipes/ultramarine.materials/yellow_dye_powder.json
6b749c05dc3d66b06d450cd5e72e963ef22c60b7 data/ultramarine/advancements/recipes/ultramarine.materials/yellow_roof_tile.json
4da8a84298259d0205d7f75bf1267bcde2e9ae45 data/ultramarine/advancements/recipes/ultramarine.tools/chisel_table.json
a5229c2eab399fc3f0b07cce7ef2770ce2513050 data/ultramarine/advancements/recipes/ultramarine.tools/wooden_mallet.json
3ce6ad7bcc25c7a4e18235769ca6ae0318fc10a2 data/ultramarine/advancements/recipes/ultramarine.tools/woodworking_workbench.json
73911b3e562f3076e2f26b1912c0afb6e088b7a7 data/ultramarine/loot_tables/blocks/abacus.json
Expand Down Expand Up @@ -1959,6 +1960,7 @@ a0a05067748bb6da03f3c688b19d62655c8d50e5 data/ultramarine/recipes/brownish_red_s
a7ca746341f76e38c34fbe444f29b68ae309d875 data/ultramarine/recipes/brownish_red_stone_brick_wall_from_crafting.json
290a87ce2d917b6f75a28e3767fd9cf73c71f43f data/ultramarine/recipes/brownish_red_stone_brick_wall_from_stonecutting.json
6330006c73002cb0302fe6c48fcef84a4b5f8793 data/ultramarine/recipes/brownish_red_stone_bricks.json
9ec2c71b771b670e9c28afa2c2c8f331d06dfc4d data/ultramarine/recipes/chisel_table.json
1330135283139cdd23fb1894f69c8974a2b2394a data/ultramarine/recipes/chiseled_cyan_floor_tile.json
7f23644c1b6359a4517910f392c98ae3bd3d536e data/ultramarine/recipes/cut_cyan_floor_tiles.json
67e2f14a12f74779a24d219031eebaad4c567b23 data/ultramarine/recipes/cyan_brick.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"ultramarine:chisel_table"
]
},
"criteria": {
"has_crafting_table": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:crafting_table"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "ultramarine:chisel_table"
}
}
},
"requirements": [
[
"has_crafting_table",
"has_the_recipe"
]
]
}
18 changes: 18 additions & 0 deletions src/generated/resources/data/ultramarine/recipes/chisel_table.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"A",
"C"
],
"key": {
"A": {
"item": "minecraft:amethyst_shard"
},
"C": {
"item": "minecraft:crafting_table"
}
},
"result": {
"item": "ultramarine:chisel_table"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ protected void buildCraftingRecipes(@NotNull Consumer<FinishedRecipe> recipeCons
.pattern("C")
.unlockedBy(itemUnlockName(Items.CRAFTING_TABLE), itemCriterion(Items.CRAFTING_TABLE))
.save(recipeConsumer);
ShapedRecipeBuilder.shaped(ItemRegistry.CHISEL_TABLE.get(), 1)
.define('A', Items.AMETHYST_SHARD)
.define('C', Items.CRAFTING_TABLE)
.pattern("A")
.pattern("C")
.unlockedBy(itemUnlockName(Items.CRAFTING_TABLE), itemCriterion(Items.CRAFTING_TABLE))
.save(recipeConsumer);

//LAMPS
generateLampRecipes(recipeConsumer);
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/ultramarine/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@
"item.ultramarine.green_dye_powder": "Green Dye Powder",
"item.ultramarine.red_dye_powder": "Red Dye Powder",
"item.ultramarine.black_dye_powder": "Black Dye Powder",
"item.ultramarine.chiseled_wood_template": "Template: Chiseled Wood",

"item.ultramarine.wooden_mallet": "Wooden Mallet",

Expand Down Expand Up @@ -568,6 +569,7 @@

"container.woodworking_workbench": "Woodworking Workbench",
"container.brick_kiln": "Brick Kiln",
"container.chisel_table": "Chisel Table",

"__comment22__": "Entity",
"entity.ultramarine.seat": "Seat",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/ultramarine/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@
"item.ultramarine.green_dye_powder": "绿色染料粉",
"item.ultramarine.red_dye_powder": "红色染料粉",
"item.ultramarine.black_dye_powder": "黑色染料粉",
"item.ultramarine.chiseled_wood_template": "模板:雕花木",

"item.ultramarine.wooden_mallet": "木锤",

Expand Down Expand Up @@ -567,6 +568,7 @@

"container.woodworking_workbench": "木工桌",
"container.brick_kiln": "砖窑",
"container.chisel_table": "雕刻桌",

"__comment22__": "Entity",
"entity.ultramarine.seat": "座位",
Expand Down

0 comments on commit d72b6aa

Please sign in to comment.