Class GhostRecipe

java.lang.Object
net.minecraft.client.gui.screen.recipebook.GhostRecipe

@Environment(CLIENT) public class GhostRecipe extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/recipebook/GhostRecipe
intermediary net/minecraft/class_9934
official fxs
  • Field Details

    • items

      Mappings:
      Namespace Name Mixin selector
      named items Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;items:Lit/unimi/dsi/fastutil/objects/Reference2ObjectMap;
      intermediary field_52827 Lnet/minecraft/class_9934;field_52827:Lit/unimi/dsi/fastutil/objects/Reference2ObjectMap;
      official a Lfxs;a:Lit/unimi/dsi/fastutil/objects/Reference2ObjectMap;
    • currentIndexProvider

      private final CurrentIndexProvider currentIndexProvider
      Mappings:
      Namespace Name Mixin selector
      named currentIndexProvider Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;currentIndexProvider:Lnet/minecraft/client/gui/screen/recipebook/CurrentIndexProvider;
      intermediary field_52828 Lnet/minecraft/class_9934;field_52828:Lnet/minecraft/class_9938;
      official b Lfxs;b:Lfyb;
  • Constructor Details

    • GhostRecipe

      public GhostRecipe(CurrentIndexProvider currentIndexProvider)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;<init>(Lnet/minecraft/client/gui/screen/recipebook/CurrentIndexProvider;)V
      intermediary <init> Lnet/minecraft/class_9934;<init>(Lnet/minecraft/class_9938;)V
      official <init> Lfxs;<init>(Lfyb;)V
  • Method Details

    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;clear()V
      intermediary method_62029 Lnet/minecraft/class_9934;method_62029()V
      official a Lfxs;a()V
    • addItems

      private void addItems(Slot slot, ContextParameterMap context, SlotDisplay display, boolean resultSlot)
      Mappings:
      Namespace Name Mixin selector
      named addItems Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;addItems(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/util/context/ContextParameterMap;Lnet/minecraft/recipe/display/SlotDisplay;Z)V
      intermediary method_64873 Lnet/minecraft/class_9934;method_64873(Lnet/minecraft/class_1735;Lnet/minecraft/class_10352;Lnet/minecraft/class_10302;Z)V
      official a Lfxs;a(Lcuy;Lbbp;Lddo;Z)V
    • addInputs

      protected void addInputs(Slot slot, ContextParameterMap context, SlotDisplay display)
      Mappings:
      Namespace Name Mixin selector
      named addInputs Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;addInputs(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/util/context/ContextParameterMap;Lnet/minecraft/recipe/display/SlotDisplay;)V
      intermediary method_64872 Lnet/minecraft/class_9934;method_64872(Lnet/minecraft/class_1735;Lnet/minecraft/class_10352;Lnet/minecraft/class_10302;)V
      official a Lfxs;a(Lcuy;Lbbp;Lddo;)V
    • addResults

      protected void addResults(Slot slot, ContextParameterMap context, SlotDisplay display)
      Mappings:
      Namespace Name Mixin selector
      named addResults Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;addResults(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/util/context/ContextParameterMap;Lnet/minecraft/recipe/display/SlotDisplay;)V
      intermediary method_64874 Lnet/minecraft/class_9934;method_64874(Lnet/minecraft/class_1735;Lnet/minecraft/class_10352;Lnet/minecraft/class_10302;)V
      official b Lfxs;b(Lcuy;Lbbp;Lddo;)V
    • draw

      public void draw(DrawContext context, MinecraftClient client, boolean resultHasPadding)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/MinecraftClient;Z)V
      intermediary method_62033 Lnet/minecraft/class_9934;method_62033(Lnet/minecraft/class_332;Lnet/minecraft/class_310;Z)V
      official a Lfxs;a(Lfnr;Lfmf;Z)V
    • drawTooltip

      public void drawTooltip(DrawContext context, MinecraftClient client, int x, int y, @Nullable @Nullable Slot slot)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;drawTooltip(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/MinecraftClient;IILnet/minecraft/screen/slot/Slot;)V
      intermediary method_62032 Lnet/minecraft/class_9934;method_62032(Lnet/minecraft/class_332;Lnet/minecraft/class_310;IILnet/minecraft/class_1735;)V
      official a Lfxs;a(Lfnr;Lfmf;IILcuy;)V