PaperMC/paper-server/patches/sources/net/minecraft/advancements/DisplayInfo.java.patch

11 lines
422 B
Diff
Raw Normal View History

--- a/net/minecraft/advancements/DisplayInfo.java
+++ b/net/minecraft/advancements/DisplayInfo.java
2024-12-13 17:38:42 +01:00
@@ -37,6 +_,7 @@
private final boolean hidden;
private float x;
private float y;
+ public final io.papermc.paper.advancement.AdvancementDisplay paper = new io.papermc.paper.advancement.PaperAdvancementDisplay(this); // Paper - Add more advancement API
public DisplayInfo(
ItemStack icon,