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 ILeftAreaContent
public void drawScreen(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY, float partialTicks)
drawScreen
in interface ILeftAreaContent
public void drawOnForeground(net.minecraft.client.gui.screen.inventory.ContainerScreen gui, int mouseX, int mouseY)
drawOnForeground
in interface ILeftAreaContent
public void drawTooltips(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY)
drawTooltips
in interface ILeftAreaContent
public boolean updateBounds(java.util.Set<net.minecraft.client.renderer.Rectangle2d> guiExclusionAreas)
@Nullable public IClickedIngredient<?> getIngredientUnderMouse(double mouseX, double mouseY)
getIngredientUnderMouse
in interface IShowsRecipeFocuses
public boolean canSetFocusWithMouse()
canSetFocusWithMouse
in interface IShowsRecipeFocuses
public boolean handleMouseScrolled(double mouseX, double mouseY, double scrollDelta)
handleMouseScrolled
in interface ILeftAreaContent
public 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