net.minecraft.client.gui.screen.recipebook

public class GhostRecipe

net.minecraft.client.gui.screens.recipebook.GhostSlots
net.minecraft.class_9934
net.minecraft.client.gui.screen.recipebook.GhostRecipe

Field summary

Modifier and TypeField
private final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<Slot, GhostRecipe$CyclingItem>
ingredients
field_52827
items
private final CurrentIndexProvider
slotSelectTime
field_52828
currentIndexProvider

Constructor summary

ModifierConstructor
public (CurrentIndexProvider currentIndexProvider)

Method summary

Modifier and TypeMethod
public void
clear()
method_62029()
clear()
private void
setSlot(Slot slot, ContextMap context, SlotDisplay contents, boolean isResult)
method_64873(class_1735 arg0, class_10352 arg1, class_10302 arg2, boolean arg3)
addItems(Slot slot, ContextParameterMap context, SlotDisplay display, boolean resultSlot)
protected void
setInput(Slot slot, ContextMap context, SlotDisplay contents)
method_64872(class_1735 arg0, class_10352 arg1, class_10302 arg2)
addInputs(Slot slot, ContextParameterMap context, SlotDisplay display)
protected void
setResult(Slot slot, ContextMap context, SlotDisplay contents)
method_64874(class_1735 arg0, class_10352 arg1, class_10302 arg2)
addResults(Slot slot, ContextParameterMap context, SlotDisplay display)
public void
extractRenderState(GuiGraphicsExtractor graphics, Minecraft minecraft, boolean isResultSlotBig)
method_62033(class_332 arg0, class_310 arg1, boolean arg2)
draw(DrawContext context, MinecraftClient client, boolean resultHasPadding)
public void
extractTooltip(GuiGraphicsExtractor graphics, Minecraft minecraft, int mouseX, int mouseY, Slot hoveredSlot)
method_62032(class_332 arg0, class_310 arg1, int arg2, int arg3, class_1735 arg4)
drawTooltip(DrawContext context, MinecraftClient client, int x, int y, Slot slot)
private void
lambda$extractRenderState$0(boolean arg0, GuiGraphicsExtractor arg1, Minecraft arg2, Slot arg3, GhostSlots$GhostSlot arg4)
method_62030(boolean arg0, class_332 arg1, class_310 arg2, class_1735 arg3, class_9934$class_9935 arg4)
method_62030(boolean arg0, DrawContext arg1, MinecraftClient arg2, Slot slot, GhostRecipe$CyclingItem item)