mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 12:39:19 +02:00
added thick end rod advancement
This commit is contained in:
parent
2c0c31a964
commit
b722d71202
4 changed files with 52 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"parent": "minecraft:nec/root",
|
||||
"criteria": {
|
||||
"got_thick_end_rod": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "nec:thick_end_rod"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"description": {
|
||||
"translate": "advancements.nec.thick_end_rod.description"
|
||||
},
|
||||
"hidden": true,
|
||||
"icon": {
|
||||
"count": 1,
|
||||
"id": "nec:thick_end_rod"
|
||||
},
|
||||
"title": {
|
||||
"translate": "advancements.nec.thick_end_rod.title"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"got_thick_end_rod"
|
||||
]
|
||||
],
|
||||
"sends_telemetry_event": true
|
||||
}
|
|
@ -133,6 +133,20 @@ public class NecDataGen implements DataGeneratorEntrypoint {
|
|||
)
|
||||
.criterion("got_fletching_stairs", InventoryChangedCriterion.Conditions.items(FLETCHING_STAIRS_TIEM))
|
||||
.build(consumer, "nec" + "/got_fletching_stairs");
|
||||
|
||||
AdvancementEntry gotThickEndRodAdvancement = Advancement.Builder.create().parent(rootAdvancement)
|
||||
.display(
|
||||
THICK_END_ROD_ITEM,
|
||||
Text.translatable("advancements.nec.thick_end_rod.title"),
|
||||
Text.translatable("advancements.nec.thick_end_rod.description"),
|
||||
null, // children to parent advancements don't need a background set
|
||||
AdvancementFrame.TASK,
|
||||
true,
|
||||
true,
|
||||
true
|
||||
)
|
||||
.criterion("got_thick_end_rod", InventoryChangedCriterion.Conditions.items(THICK_END_ROD_ITEM))
|
||||
.build(consumer, "nec" + "/got_thick_end_rod");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -14,6 +14,8 @@
|
|||
"advancements.nec.java_block.title": "Du Depp, das ist falsch!",
|
||||
"advancements.nec.root.description": "Was? Du dachtest, dass ich dir einen Blick auf die Fortschritte geben würde?",
|
||||
"advancements.nec.root.title": "Not Enough Cursedness",
|
||||
"advancements.nec.thick_end_rod.title": "Du bist dicker als sonst!",
|
||||
"advancements.nec.thick_end_rod.description": "Bekomme einen dicken Endstab",
|
||||
|
||||
"block.nec.blaze_block": "Lohenblock",
|
||||
"block.nec.cursed_dirt_stairs": "Verfluchte Erdtreppe",
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
"advancements.nec.java_block.title": "You Idiot, this is wrong!",
|
||||
"advancements.nec.root.description": "What? You thought that I would give you a look at the achievements?",
|
||||
"advancements.nec.root.title": "Not Enough Cursedness",
|
||||
"advancements.nec.thick_end_rod.title": "You're thicker than usual!",
|
||||
"advancements.nec.thick_end_rod.description": "Obtain a Thick End Rod",
|
||||
|
||||
"block.nec.blaze_block": "Blaze Block",
|
||||
"block.nec.cursed_dirt_stairs": "Cursed Dirt Stairs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue