public class BookmarkOverlay extends java.lang.Object implements IShowsRecipeFocuses, ILeftAreaContent, mezz.jei.api.runtime.IBookmarkOverlay
| Constructor and Description |
|---|
BookmarkOverlay(BookmarkList bookmarkList,
Textures textures,
IngredientGridWithNavigation contents,
IWorldConfig worldConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetFocusWithMouse() |
void |
drawOnForeground(net.minecraft.client.gui.screen.inventory.ContainerScreen gui,
int mouseX,
int mouseY) |
void |
drawScreen(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY,
float partialTicks) |
void |
drawTooltips(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY) |
java.lang.Object |
getIngredientUnderMouse() |
IClickedIngredient<?> |
getIngredientUnderMouse(double mouseX,
double mouseY) |
boolean |
handleMouseClicked(double mouseX,
double mouseY,
int mouseButton) |
boolean |
handleMouseScrolled(double mouseX,
double mouseY,
double scrollDelta) |
boolean |
hasRoom() |
boolean |
isListDisplayed() |
void |
updateBounds(net.minecraft.client.renderer.Rectangle2d area,
java.util.Set<net.minecraft.client.renderer.Rectangle2d> guiExclusionAreas) |
boolean |
updateBounds(java.util.Set<net.minecraft.client.renderer.Rectangle2d> guiExclusionAreas) |
public BookmarkOverlay(BookmarkList bookmarkList, Textures textures, IngredientGridWithNavigation contents, IWorldConfig worldConfig)
public boolean isListDisplayed()
public boolean hasRoom()
public void updateBounds(net.minecraft.client.renderer.Rectangle2d area,
java.util.Set<net.minecraft.client.renderer.Rectangle2d> guiExclusionAreas)
updateBounds in interface ILeftAreaContentpublic void drawScreen(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY,
float partialTicks)
drawScreen in interface ILeftAreaContentpublic void drawOnForeground(net.minecraft.client.gui.screen.inventory.ContainerScreen gui,
int mouseX,
int mouseY)
drawOnForeground in interface ILeftAreaContentpublic void drawTooltips(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY)
drawTooltips in interface ILeftAreaContentpublic boolean updateBounds(java.util.Set<net.minecraft.client.renderer.Rectangle2d> guiExclusionAreas)
@Nullable public IClickedIngredient<?> getIngredientUnderMouse(double mouseX, double mouseY)
getIngredientUnderMouse in interface IShowsRecipeFocusespublic boolean canSetFocusWithMouse()
canSetFocusWithMouse in interface IShowsRecipeFocusespublic boolean handleMouseScrolled(double mouseX,
double mouseY,
double scrollDelta)
handleMouseScrolled in interface ILeftAreaContentpublic boolean handleMouseClicked(double mouseX,
double mouseY,
int mouseButton)
handleMouseClicked in interface ILeftAreaContent@Nullable public java.lang.Object getIngredientUnderMouse()
getIngredientUnderMouse in interface mezz.jei.api.runtime.IBookmarkOverlay