aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2023-04-04 13:57:15 +0200
committerGitHub <noreply@github.com>2023-04-04 13:57:15 +0200
commit9b0cf70949beab972a7f9b2e6884dc9eb4cb8dca (patch)
tree72a719f446d59538cc51768cf780ba142d3512f2 /src/main/java/gregtech/api/interfaces
parent769168bf3db04d09bcb8566e72b0dddb64157e7d (diff)
downloadGT5-Unofficial-9b0cf70949beab972a7f9b2e6884dc9eb4cb8dca.tar.gz
GT5-Unofficial-9b0cf70949beab972a7f9b2e6884dc9eb4cb8dca.tar.bz2
GT5-Unofficial-9b0cf70949beab972a7f9b2e6884dc9eb4cb8dca.zip
Modid work (#1833)
* add all mods founds in NHCore * depracte old strings * add ars magica 2 * more enum work * use a switch * spotless * more mod id rework * more mod id rework * more mod id rework * should be last * spotless * rename to make more sense * add path attribute * add getResourcePath to enum * spotless
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