public class GuiRecipeBookPhantom
extends net.minecraft.client.gui.recipebook.GuiRecipeBook
GuiRecipeBook that can always craft things, as it puts the required items into phantom slots (Either
SlotPhantom or ItemHandlerManager with an argument of ItemHandlerManager.EnumAccess.PHANTOM.| Modifier and Type | Field and Description |
|---|---|
java.util.function.Consumer<net.minecraft.item.crafting.IRecipe> |
recipeSetter |
| Constructor and Description |
|---|
GuiRecipeBookPhantom(java.util.function.Consumer<net.minecraft.item.crafting.IRecipe> recipeSetter) |
| Modifier and Type | Method and Description |
|---|---|
void |
initVisuals(boolean someBoolean,
net.minecraft.inventory.InventoryCrafting invCrafting) |
void |
removed() |
func_194303_a, hasClickedOutside, isVisible, keyPressed, mouseClicked, recipesShown, recipesUpdated, render, renderGhostRecipe, renderTooltip, setupGhostRecipe, slotClicked, tick, toggleVisibility, updateScreenPositionpublic final java.util.function.Consumer<net.minecraft.item.crafting.IRecipe> recipeSetter
public GuiRecipeBookPhantom(java.util.function.Consumer<net.minecraft.item.crafting.IRecipe> recipeSetter)
throws java.lang.ReflectiveOperationException
java.lang.ReflectiveOperationExceptionpublic void removed()
removed in class net.minecraft.client.gui.recipebook.GuiRecipeBookpublic void initVisuals(boolean someBoolean,
net.minecraft.inventory.InventoryCrafting invCrafting)
initVisuals in class net.minecraft.client.gui.recipebook.GuiRecipeBook