9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2026-01-06 15:51:55 +00:00

feat: add sendToastPacket

This commit is contained in:
LoJoSho
2025-01-27 15:32:32 -06:00
parent d90aee5200
commit 15b9dbdf99
6 changed files with 335 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
package me.lojosho.hibiscuscommons.nms;
import it.unimi.dsi.fastutil.ints.IntList;
import net.kyori.adventure.text.Component;
import org.bukkit.Location;
import org.bukkit.entity.Display;
import org.bukkit.entity.EntityType;
@@ -74,4 +75,6 @@ public interface NMSPackets {
int blockLight, int skyLight, float viewRange, float width, float height,
ItemDisplay.ItemDisplayTransform transform, ItemStack itemStack,
List<Player> sendTo);
void sendToastPacket(Player player, ItemStack icon, Component title, Component description);
}