aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api/interfaces')
-rw-r--r--src/main/java/gregtech/api/interfaces/IDragAndDropSupport.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/interfaces/IDragAndDropSupport.java b/src/main/java/gregtech/api/interfaces/IDragAndDropSupport.java
index 3527b2e60d..7364dec050 100644
--- a/src/main/java/gregtech/api/interfaces/IDragAndDropSupport.java
+++ b/src/main/java/gregtech/api/interfaces/IDragAndDropSupport.java
@@ -11,18 +11,19 @@ import codechicken.nei.VisiblityData;
import codechicken.nei.api.INEIGuiHandler;
import codechicken.nei.api.TaggedInventoryArea;
import cpw.mods.fml.common.Optional;
+import gregtech.api.enums.Mods;
/**
* Implement this interface if your GuiContainer supports Drag-And-Drop behavior on NEI.
*/
-@Optional.Interface(modid = "NotEnoughItems", iface = "codechicken.nei.api.INEIGuiHandler")
+@Optional.Interface(modid = Mods.Names.NOT_ENOUGH_ITEMS, iface = "codechicken.nei.api.INEIGuiHandler")
public interface IDragAndDropSupport extends INEIGuiHandler {
/**
* Implement this to handle Drag-And-Drop behavior. This may be invoked on normal click too
* ({@code isGhost==false}), so be careful if your slot supports both Drag-And-Drop and other behaviors e.g. fluid
* I/O with FluidDisplay click
- *
+ *
* @param gui Current gui instance. Make sure to check if it is an instance of your GuiContainer.
* @param mousex X position of the mouse
* @param mousey Y position of the mouse