Skip to content

Commit

Permalink
Add Pale Pumpkin to Pale Pumpkin Seeds Recipe
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph T. McQuigg <[email protected]>
  • Loading branch information
JT122406 committed Jan 8, 2025
1 parent 4ba9df1 commit 17a2ed2
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- BoneMealing Grass Block/Lush Grass Block/Overgrown Stone/Dacite will now grow not just grass but any flower from that biomes flower pool
- Make Tall Allium and Allium Flower Bush make Magenta Dye to match Vanilla
- Add Built-in Support for Repurposed Structures (Adds Forager Houses to Villages) (NeoForge & Fabric) (Credits: TelepathicGrunt)
- Add Pale Pumpkin to Pale Pumpkin Seeds Recipe

# 2.3.0 -> Major Internal Changes and Refactors
- Add Spanish (Chile) Translations (es_cl) (Credits: Ganbare-Lucifer)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_pale_pumpkin": {
"conditions": {
"items": [
{
"items": "biomeswevegone:pale_pumpkin"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "biomeswevegone:pale_pumpkin_seeds"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_pale_pumpkin"
]
],
"rewards": {
"recipes": [
"biomeswevegone:pale_pumpkin_seeds"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"item": "biomeswevegone:pale_pumpkin"
}
],
"result": {
"count": 4,
"id": "biomeswevegone:pale_pumpkin_seeds"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ protected void buildRecipes(@NotNull RecipeOutput recipeOutput) {
.unlockedBy(getHasName(BWGBlocks.CARVED_PALE_PUMPKIN.get()), has(BWGBlocks.CARVED_PALE_PUMPKIN.get()))
.save(recipeOutput, BiomesWeveGone.id("pale_jack_o_lantern_from_soul_fruit"));

ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, BWGItems.PALE_PUMPKIN_SEEDS.get(), 4).requires(BWGBlocks.PALE_PUMPKIN.get()).unlockedBy(getHasName(BWGBlocks.PALE_PUMPKIN.get()), has(BWGBlocks.PALE_PUMPKIN.get())).save(recipeOutput);

ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, Blocks.SOUL_TORCH, 4)
.define('X', Ingredient.of(Items.COAL, Items.CHARCOAL))
.define('#', Items.STICK)
Expand Down

0 comments on commit 17a2ed2

Please sign in to comment.