mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 20:49:19 +02:00
fixed and added advancement background
This commit is contained in:
parent
dc4ad260ee
commit
8d9a7bd3f1
2 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ import net.minecraft.advancement.criterion.TickCriterion;
|
||||||
import net.minecraft.item.Items;
|
import net.minecraft.item.Items;
|
||||||
import net.minecraft.registry.RegistryWrapper;
|
import net.minecraft.registry.RegistryWrapper;
|
||||||
import net.minecraft.text.Text;
|
import net.minecraft.text.Text;
|
||||||
|
import net.minecraft.util.Identifier;
|
||||||
|
|
||||||
|
import static me.jonasjones.nec.NotEnoughCursedness.MOD_ID;
|
||||||
import static me.jonasjones.nec.block.ModBlocks.*;
|
import static me.jonasjones.nec.block.ModBlocks.*;
|
||||||
import static me.jonasjones.nec.item.ModItems.*;
|
import static me.jonasjones.nec.item.ModItems.*;
|
||||||
|
|
||||||
|
@ -38,7 +40,7 @@ public class NecDataGen implements DataGeneratorEntrypoint {
|
||||||
Items.DIRT, // The display icon
|
Items.DIRT, // The display icon
|
||||||
Text.translatable("advancements.nec.root.title"), // The title
|
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
|
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
|
||||||
null,
|
Identifier.of(MOD_ID, "textures/gui/advancements/backgrounds/nec.png"), // Background image used
|
||||||
AdvancementFrame.TASK, // Options: TASK, CHALLENGE, GOAL
|
AdvancementFrame.TASK, // Options: TASK, CHALLENGE, GOAL
|
||||||
false, // Show toast top right
|
false, // Show toast top right
|
||||||
false, // Announce to chat
|
false, // Announce to chat
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
Loading…
Add table
Add a link
Reference in a new issue