feat: Update core hooks and integrations

This commit is contained in:
Andrei Laiff committed 2023-10-21 22:41:00 +03:00
1 parent bd0e7fabca
commit 3ab27d4231
6 files changed
+33 -15

No files matched your search

@@ -0,0 +1,20 @@
package com.glodblock.github.client.gui;
import java.util.List;
import net.minecraft.item.ItemStack;
/**
* Interface for handling tooltips from NEIGuiContainerManager.
*/
public interface IGuiTooltipHandler {
default List<String> handleItemTooltip(final ItemStack stack, final int mouseX, final int mouseY,
final List<String> currentToolTip) {
return currentToolTip;
}
default ItemStack getHoveredStack() {
return null;
}
}