Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #536 Expose "itemstack under mouse" internal API
- Loading branch information
Showing
6 changed files
with
94 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/mezz/jei/api/gui/BlankAdvancedGuiHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package mezz.jei.api.gui; | ||
|
||
import javax.annotation.Nullable; | ||
import java.awt.Rectangle; | ||
import java.util.List; | ||
|
||
import net.minecraft.client.gui.inventory.GuiContainer; | ||
|
||
public abstract class BlankAdvancedGuiHandler implements IAdvancedGuiHandler { | ||
@Nullable | ||
@Override | ||
public List<Rectangle> getGuiExtraAreas(GuiContainer guiContainer) { | ||
return null; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
public Object getIngredientUnderMouse(int mouseX, int mouseY) { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters