Skip to content

Commit

Permalink
feat: tweak advancement
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Mar 18, 2024
1 parent 8b429aa commit 6565ba0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,13 @@ private void saveAdvancements(Consumer<Advancement> consumer, ExistingFileHelper

Advancement meatCollection = createAdvancement("raw_meat_collection").parent(root).icon(Items.RABBIT)
.title("Collector of Raw Meats")
.description("Each type of raw meat, reflecting their source. Primal whispers of absurdity. You need them all!")
.description("Collect each type of prime meat. Pork, beef, chicken and mutton reflect their source. Primeval whispers of absurdity. You need them all!")
.frameType(FrameType.CHALLENGE)
.showToast().announceToChat()
.addCriterion("has_raw_porkchop", ModAdvancementProvider.hasItems(Items.PORKCHOP))
.addCriterion("has_raw_beef", ModAdvancementProvider.hasItems(Items.BEEF))
.addCriterion("has_raw_chicken", ModAdvancementProvider.hasItems(Items.CHICKEN))
.addCriterion("has_raw_mutton", ModAdvancementProvider.hasItems(Items.MUTTON))
.addCriterion("has_raw_rabbit", ModAdvancementProvider.hasItems(Items.RABBIT))
.rewardsDefaultRecipe(ModItems.PRIMORDIAL_CORE.get())
.save(consumer, fileHelper);

Expand Down
2 changes: 1 addition & 1 deletion src/generated/resources/assets/biomancy/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
"advancements.biomancy.root.title": "Whispers in the Meat",
"advancements.biomancy.root.description": "You feel a presence in the flesh, faint whispers reach your ears:\n\n \"Raw Meat is useful...\"\n",
"advancements.biomancy.raw_meat_collection.title": "Collector of Raw Meats",
"advancements.biomancy.raw_meat_collection.description": "Each type of raw meat, reflecting their source. Primal whispers of absurdity. You need them all!",
"advancements.biomancy.raw_meat_collection.description": "Collect each type of prime meat. Pork, beef, chicken and mutton reflect their source. Primeval whispers of absurdity. You need them all!",
"advancements.biomancy.primal_vision.title": "Primal Vision",
"advancements.biomancy.primal_vision.description": "You feel bare before the oculus. The mirror leers at you... infinite reflections of yourself... eternal cycles... meaningless existence?",
"advancements.biomancy.greedy_butcher.title": "Greedy Butcher",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,6 @@
]
},
"trigger": "minecraft:inventory_changed"
},
"has_raw_rabbit": {
"conditions": {
"items": [
{
"items": [
"minecraft:rabbit"
]
}
]
},
"trigger": "minecraft:inventory_changed"
}
},
"display": {
Expand Down Expand Up @@ -89,9 +77,6 @@
],
[
"has_raw_mutton"
],
[
"has_raw_rabbit"
]
],
"rewards": {
Expand Down

0 comments on commit 6565ba0

Please sign in to comment.