mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 04:29:19 +02:00
fixed mod advancement group display icon
This commit is contained in:
parent
8d9a7bd3f1
commit
cdd8d1ab1b
2 changed files with 3 additions and 2 deletions
|
@ -6,12 +6,13 @@
|
|||
},
|
||||
"display": {
|
||||
"announce_to_chat": false,
|
||||
"background": "nec:textures/gui/advancements/backgrounds/nec.png",
|
||||
"description": {
|
||||
"translate": "advancements.nec.root.description"
|
||||
},
|
||||
"icon": {
|
||||
"count": 1,
|
||||
"id": "minecraft:dirt"
|
||||
"id": "nec:dirt_sword"
|
||||
},
|
||||
"show_toast": false,
|
||||
"title": {
|
||||
|
|
|
@ -37,7 +37,7 @@ public class NecDataGen implements DataGeneratorEntrypoint {
|
|||
public void generateAdvancement(RegistryWrapper.WrapperLookup registryLookup, Consumer<AdvancementEntry> consumer) {
|
||||
AdvancementEntry rootAdvancement = Advancement.Builder.create()
|
||||
.display(
|
||||
Items.DIRT, // The display icon
|
||||
DIRT_SWORD_ITEM, // The display icon
|
||||
Text.translatable("advancements.nec.root.title"), // The title
|
||||
Text.translatable("advancements.nec.root.description"), // The description//new Identifier("textures/gui/advancements/backgrounds/adventure.png","textures/gui/advancements/backgrounds/adventure.png"), // Background image used
|
||||
Identifier.of(MOD_ID, "textures/gui/advancements/backgrounds/nec.png"), // Background image used
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue