Skip to content

Commit

Permalink
feat: Add Mossy Waystone from Moss Blocks recipe #883
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Aug 19, 2024
1 parent 90821db commit 58efba5
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_the_recipe": {
"conditions": {
"recipe": "waystones:mossy_waystone_from_moss_blocks"
},
"trigger": "minecraft:recipe_unlocked"
},
"has_waystone": {
"conditions": {
"items": [
{
"items": "waystones:waystone"
}
]
},
"trigger": "minecraft:inventory_changed"
}
},
"requirements": [
[
"has_the_recipe",
"has_waystone"
]
],
"rewards": {
"recipes": [
"waystones:mossy_waystone_from_moss_blocks"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"item": "waystones:waystone"
},
{
"item": "minecraft:moss_block"
},
{
"item": "minecraft:moss_block"
},
{
"item": "minecraft:moss_block"
}
],
"result": {
"count": 1,
"id": "waystones:mossy_waystone"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ public void buildRecipes(RecipeOutput exporter) {
.unlockedBy("has_waystone", has(ModBlocks.waystone))
.save(exporter, ResourceLocation.fromNamespaceAndPath("waystones", "mossy_waystone_from_vines"));

shapeless(RecipeCategory.DECORATIONS, ModBlocks.mossyWaystone)
.requires(ModBlocks.waystone)
.requires(Blocks.MOSS_BLOCK, 3)
.unlockedBy("has_waystone", has(ModBlocks.waystone))
.save(exporter, ResourceLocation.fromNamespaceAndPath("waystones", "mossy_waystone_from_moss_blocks"));

shaped(RecipeCategory.DECORATIONS, ModBlocks.warpPlate)
.pattern("SWS")
.pattern("WFW")
Expand Down

0 comments on commit 58efba5

Please sign in to comment.