Add ability to link Item in chat (#673)

This commit is contained in:
TotallyNotOndre authored and GitHub committed 2025-07-17 10:09:43 +07:00
1 parent 56941cc45d
commit fa3adde3e6
9 files changed
+47

No files matched your search

@@ -82,6 +82,14 @@ public class NEIServerUtils {
player.extinguish();
}
public static void sendChatItemLink(EntityPlayerMP sender, ItemStack stackover) {
ServerUtils.sendChatToAll(
new ChatComponentTranslation(
"nei.chat.item_link.text",
sender.getDisplayName(),
stackover.func_151000_E()));
}
public static long getTime(World world) {
return world.getWorldInfo().getWorldTime();
}