Proxy ItemStack to CraftItemStack

This commit is contained in:
Jake Potrebic
2024-05-14 11:57:51 -07:00
parent fcc777a0a8
commit 9e5e007003
3 changed files with 77 additions and 135 deletions
@@ -281,4 +281,6 @@ public interface UnsafeValues {
// Paper end - lifecycle event API
@NotNull java.util.List<net.kyori.adventure.text.Component> computeTooltipLines(@NotNull ItemStack itemStack, @NotNull io.papermc.paper.inventory.tooltip.TooltipContext tooltipContext, @Nullable org.bukkit.entity.Player player); // Paper - expose itemstack tooltip lines
ItemStack createEmptyStack(); // Paper - proxy ItemStack
}