public class GhostIngredientDragManager
extends java.lang.Object
Constructor and Description |
---|
GhostIngredientDragManager(IGhostIngredientDragSource source,
GuiScreenHelper guiScreenHelper,
IngredientRegistry ingredientRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
drawOnForeground(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY) |
void |
drawTooltips(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY) |
<T extends net.minecraft.client.gui.GuiScreen,V> |
handleClickGhostIngredient(T currentScreen,
IClickedIngredient<V> clicked) |
boolean |
handleMouseClicked(int mouseX,
int mouseY) |
void |
stopDrag() |
public GhostIngredientDragManager(IGhostIngredientDragSource source, GuiScreenHelper guiScreenHelper, IngredientRegistry ingredientRegistry)
public void drawTooltips(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY)
public void drawOnForeground(net.minecraft.client.Minecraft minecraft, int mouseX, int mouseY)
public boolean handleMouseClicked(int mouseX, int mouseY)
public void stopDrag()
public <T extends net.minecraft.client.gui.GuiScreen,V> boolean handleClickGhostIngredient(T currentScreen, IClickedIngredient<V> clicked)