Package net.minecraft.screen
Class AbstractRecipeScreenHandler<C extends Inventory>
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.AbstractRecipeScreenHandler<C>
- Direct Known Subclasses:
AbstractFurnaceScreenHandler
,CraftingScreenHandler
,PlayerScreenHandler
public abstract class AbstractRecipeScreenHandler<C extends Inventory> extends ScreenHandler
- Mappings:
Namespace Name official bkz
intermediary net/minecraft/class_1729
named net/minecraft/screen/AbstractRecipeScreenHandler
-
Field Summary
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Constructor Description AbstractRecipeScreenHandler(ScreenHandlerType<?> type, int syncId)
-
Method Summary
Modifier and Type Method Description abstract void
clearCraftingSlots()
void
fillInputSlots(boolean craftAll, Recipe<?> recipe, ServerPlayerEntity player)
abstract RecipeBookCategory
getCategory()
abstract int
getCraftingHeight()
abstract int
getCraftingResultSlotIndex()
abstract int
getCraftingSlotCount()
abstract int
getCraftingWidth()
abstract boolean
matches(Recipe<? super C> recipe)
abstract boolean
method_32339(int int2)
abstract void
populateRecipeFinder(RecipeFinder finder)
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, canUse, checkDataCount, checkSize, close, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, transferSlot, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Constructor Details
-
AbstractRecipeScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lbjr;<init>(Lbku;I)V
intermediary <init>
Lnet/minecraft/class_1703;<init>(Lnet/minecraft/class_3917;I)V
named <init>
Lnet/minecraft/screen/ScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;I)V
-
-
Method Details
-
fillInputSlots
- Mappings:
Namespace Name Mixin selector official a
Lbkz;a(ZLbqn;Laaw;)V
intermediary method_17697
Lnet/minecraft/class_1729;method_17697(ZLnet/minecraft/class_1860;Lnet/minecraft/class_3222;)V
named fillInputSlots
Lnet/minecraft/screen/AbstractRecipeScreenHandler;fillInputSlots(ZLnet/minecraft/recipe/Recipe;Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
populateRecipeFinder
- Mappings:
Namespace Name Mixin selector official a
Lbkz;a(Lbhn;)V
intermediary method_7654
Lnet/minecraft/class_1729;method_7654(Lnet/minecraft/class_1662;)V
named populateRecipeFinder
Lnet/minecraft/screen/AbstractRecipeScreenHandler;populateRecipeFinder(Lnet/minecraft/recipe/RecipeFinder;)V
-
clearCraftingSlots
public abstract void clearCraftingSlots()- Mappings:
Namespace Name Mixin selector official e
Lbkz;e()V
intermediary method_7657
Lnet/minecraft/class_1729;method_7657()V
named clearCraftingSlots
Lnet/minecraft/screen/AbstractRecipeScreenHandler;clearCraftingSlots()V
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbkz;a(Lbqn;)Z
intermediary method_7652
Lnet/minecraft/class_1729;method_7652(Lnet/minecraft/class_1860;)Z
named matches
Lnet/minecraft/screen/AbstractRecipeScreenHandler;matches(Lnet/minecraft/recipe/Recipe;)Z
-
getCraftingResultSlotIndex
public abstract int getCraftingResultSlotIndex()- Mappings:
Namespace Name Mixin selector official f
Lbkz;f()I
intermediary method_7655
Lnet/minecraft/class_1729;method_7655()I
named getCraftingResultSlotIndex
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingResultSlotIndex()I
-
getCraftingWidth
public abstract int getCraftingWidth()- Mappings:
Namespace Name Mixin selector official g
Lbkz;g()I
intermediary method_7653
Lnet/minecraft/class_1729;method_7653()I
named getCraftingWidth
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingWidth()I
-
getCraftingHeight
public abstract int getCraftingHeight()- Mappings:
Namespace Name Mixin selector official h
Lbkz;h()I
intermediary method_7656
Lnet/minecraft/class_1729;method_7656()I
named getCraftingHeight
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingHeight()I
-
getCraftingSlotCount
public abstract int getCraftingSlotCount()- Mappings:
Namespace Name Mixin selector official i
Lbkz;i()I
intermediary method_7658
Lnet/minecraft/class_1729;method_7658()I
named getCraftingSlotCount
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingSlotCount()I
-
getCategory
- Mappings:
Namespace Name Mixin selector official m
Lbkz;m()Lbla;
intermediary method_30264
Lnet/minecraft/class_1729;method_30264()Lnet/minecraft/class_5421;
named getCategory
Lnet/minecraft/screen/AbstractRecipeScreenHandler;getCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;
-
method_32339
public abstract boolean method_32339(int int2)- Mappings:
Namespace Name Mixin selector official d
Lbkz;d(I)Z
intermediary method_32339
Lnet/minecraft/class_1729;method_32339(I)Z
named method_32339
Lnet/minecraft/screen/AbstractRecipeScreenHandler;method_32339(I)Z
-