Skip to content

Commit

Permalink
Added Growmeal advancement
Browse files Browse the repository at this point in the history
  • Loading branch information
Scillman committed Jul 11, 2024
1 parent 88ff1b4 commit 51d0d49
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 6 deletions.
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# gradle

.gradle/
build/
out/
classes/

# eclipse

*.launch

# idea

.idea/
*.iml
*.ipr
*.iws

# vscode

.settings/
.vscode/
bin/
.classpath
.project

# macos

*.DS_Store

# fabric

run/

# java

hs_err_*.log
replay_*.log
*.hprof
*.jfr
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ maven_group=com.builtbroken.sbmgrowmeal
archives_base_name=growmeal-fabric

# Dependencies
fabric_version=0.89.3+1.20.1
fabric_version=0.89.3+1.20.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_bonemeal": {
"conditions": {
"items": [
{
"items": [
"minecraft:bone_meal"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "minecraft:bone_meal"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_bonemeal"
]
],
"rewards": {
"recipes": [
"sbmgrowmeal:growmeal"
]
}
}
13 changes: 8 additions & 5 deletions src/main/resources/data/sbmgrowmeal/recipes/growmeal.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"b b",
" b ",
"b b"
],
"category": "misc",
"group": "bonemeal",
"key": {
"b": {
"item": "minecraft:bone_meal"
}
},
"pattern": [
"b b",
" b ",
"b b"
],
"result": {
"count": 1,
"item": "sbmgrowmeal:growmeal"
}
}

0 comments on commit 51d0d49

Please sign in to comment.