public class BookmarkOverlay extends java.lang.Object implements IShowsRecipeFocuses, ILeftAreaContent, IBookmarkOverlay
| Constructor and Description |
|---|
BookmarkOverlay(BookmarkList bookmarkList,
Textures textures,
IngredientGridWithNavigation contents,
IClientConfig clientConfig,
IWorldConfig worldConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetFocusWithMouse() |
void |
drawScreen(net.minecraft.client.Minecraft minecraft,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
void |
drawTooltips(net.minecraft.client.Minecraft minecraft,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY) |
java.lang.Object |
getIngredientUnderMouse() |
IClickedIngredient<?> |
getIngredientUnderMouse(double mouseX,
double mouseY) |
IMouseHandler |
getMouseHandler() |
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, IClientConfig clientConfig, 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,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
drawScreen in interface ILeftAreaContentpublic void drawTooltips(net.minecraft.client.Minecraft minecraft,
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
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 IShowsRecipeFocuses@Nullable public java.lang.Object getIngredientUnderMouse()
getIngredientUnderMouse in interface IBookmarkOverlaypublic IMouseHandler getMouseHandler()
getMouseHandler in interface ILeftAreaContent