diff options
author | boubou19 <miisterunknown@gmail.com> | 2023-04-04 13:57:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 13:57:15 +0200 |
commit | 9b0cf70949beab972a7f9b2e6884dc9eb4cb8dca (patch) | |
tree | 72a719f446d59538cc51768cf780ba142d3512f2 /src/main/java/gregtech/api/interfaces | |
parent | 769168bf3db04d09bcb8566e72b0dddb64157e7d (diff) | |
download | GT5-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.java | 5 |
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 |