Package net.minecraft.screen
Class AbstractFurnaceScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.AbstractRecipeScreenHandler<Inventory>
net.minecraft.screen.AbstractFurnaceScreenHandler
- Direct Known Subclasses:
BlastFurnaceScreenHandler,FurnaceScreenHandler,SmokerScreenHandler
public abstract class AbstractFurnaceScreenHandler extends AbstractRecipeScreenHandler<Inventory>
- Mappings:
Namespace Name official bkmintermediary net/minecraft/class_1720named net/minecraft/screen/AbstractFurnaceScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private RecipeBookCategorycategoryprivate Inventoryinventoryprivate PropertyDelegatepropertyDelegateprivate RecipeType<? extends AbstractCookingRecipe>recipeTypeprotected WorldworldFields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory)protectedAbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate) -
Method Summary
Modifier and Type Method Description booleancanUse(PlayerEntity player)voidclearCraftingSlots()RecipeBookCategorygetCategory()intgetCookProgress()intgetCraftingHeight()intgetCraftingResultSlotIndex()intgetCraftingSlotCount()intgetCraftingWidth()intgetFuelProgress()booleanisBurning()protected booleanisFuel(ItemStack itemStack)protected booleanisSmeltable(ItemStack itemStack)booleanmatches(Recipe<? super Inventory> recipe)booleanmethod_32339(int int2)voidpopulateRecipeFinder(RecipeFinder finder)ItemStacktransferSlot(PlayerEntity player, int index)Methods inherited from class net.minecraft.screen.AbstractRecipeScreenHandler
fillInputSlotsMethods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, close, dropInventory, endQuickCraft, getSlot, getStacks, getType, insertItem, method_34245, method_34247, method_34248, method_34250, method_34252, method_34254, method_34255, method_34256, method_34257, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official dLbkm;d:Laqc;intermediary field_7824Lnet/minecraft/class_1720;field_7824:Lnet/minecraft/class_1263;named inventoryLnet/minecraft/screen/AbstractFurnaceScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official eLbkm;e:Lbkv;intermediary field_17286Lnet/minecraft/class_1720;field_17286:Lnet/minecraft/class_3913;named propertyDelegateLnet/minecraft/screen/AbstractFurnaceScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
world
- Mappings:
Namespace Name Mixin selector official cLbkm;c:Lbuq;intermediary field_7822Lnet/minecraft/class_1720;field_7822:Lnet/minecraft/class_1937;named worldLnet/minecraft/screen/AbstractFurnaceScreenHandler;world:Lnet/minecraft/world/World;
-
recipeType
- Mappings:
Namespace Name Mixin selector official fLbkm;f:Lbrl;intermediary field_17494Lnet/minecraft/class_1720;field_17494:Lnet/minecraft/class_3956;named recipeTypeLnet/minecraft/screen/AbstractFurnaceScreenHandler;recipeType:Lnet/minecraft/recipe/RecipeType;
-
category
- Mappings:
Namespace Name Mixin selector official gLbkm;g:Lblv;intermediary field_25762Lnet/minecraft/class_1720;field_25762:Lnet/minecraft/class_5421;named categoryLnet/minecraft/screen/AbstractFurnaceScreenHandler;category:Lnet/minecraft/recipe/book/RecipeBookCategory;
-
-
Constructor Details
-
AbstractFurnaceScreenHandler
protected AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory)- Mappings:
Namespace Name Mixin selector official <init>Lbkm;<init>(Lblp;Lbrl;Lblv;ILbie;)Vintermediary <init>Lnet/minecraft/class_1720;<init>(Lnet/minecraft/class_3917;Lnet/minecraft/class_3956;Lnet/minecraft/class_5421;ILnet/minecraft/class_1661;)Vnamed <init>Lnet/minecraft/screen/AbstractFurnaceScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;Lnet/minecraft/recipe/RecipeType;Lnet/minecraft/recipe/book/RecipeBookCategory;ILnet/minecraft/entity/player/PlayerInventory;)V
-
AbstractFurnaceScreenHandler
protected AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate)- Mappings:
Namespace Name Mixin selector official <init>Lbkm;<init>(Lblp;Lbrl;Lblv;ILbie;Laqc;Lbkv;)Vintermediary <init>Lnet/minecraft/class_1720;<init>(Lnet/minecraft/class_3917;Lnet/minecraft/class_3956;Lnet/minecraft/class_5421;ILnet/minecraft/class_1661;Lnet/minecraft/class_1263;Lnet/minecraft/class_3913;)Vnamed <init>Lnet/minecraft/screen/AbstractFurnaceScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;Lnet/minecraft/recipe/RecipeType;Lnet/minecraft/recipe/book/RecipeBookCategory;ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/screen/PropertyDelegate;)V
-
-
Method Details
-
populateRecipeFinder
- Specified by:
populateRecipeFinderin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official aLblu;a(Lbih;)Vintermediary method_7654Lnet/minecraft/class_1729;method_7654(Lnet/minecraft/class_1662;)Vnamed populateRecipeFinderLnet/minecraft/screen/AbstractRecipeScreenHandler;populateRecipeFinder(Lnet/minecraft/recipe/RecipeFinder;)V
-
clearCraftingSlots
public void clearCraftingSlots()- Specified by:
clearCraftingSlotsin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official iLblu;i()Vintermediary method_7657Lnet/minecraft/class_1729;method_7657()Vnamed clearCraftingSlotsLnet/minecraft/screen/AbstractRecipeScreenHandler;clearCraftingSlots()V
-
matches
- Specified by:
matchesin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official aLblu;a(Lbri;)Zintermediary method_7652Lnet/minecraft/class_1729;method_7652(Lnet/minecraft/class_1860;)Znamed matchesLnet/minecraft/screen/AbstractRecipeScreenHandler;matches(Lnet/minecraft/recipe/Recipe;)Z
-
getCraftingResultSlotIndex
public int getCraftingResultSlotIndex()- Specified by:
getCraftingResultSlotIndexin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official jLblu;j()Iintermediary method_7655Lnet/minecraft/class_1729;method_7655()Inamed getCraftingResultSlotIndexLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingResultSlotIndex()I
-
getCraftingWidth
public int getCraftingWidth()- Specified by:
getCraftingWidthin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official kLblu;k()Iintermediary method_7653Lnet/minecraft/class_1729;method_7653()Inamed getCraftingWidthLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingWidth()I
-
getCraftingHeight
public int getCraftingHeight()- Specified by:
getCraftingHeightin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official lLblu;l()Iintermediary method_7656Lnet/minecraft/class_1729;method_7656()Inamed getCraftingHeightLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingHeight()I
-
getCraftingSlotCount
public int getCraftingSlotCount()- Specified by:
getCraftingSlotCountin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official mLblu;m()Iintermediary method_7658Lnet/minecraft/class_1729;method_7658()Inamed getCraftingSlotCountLnet/minecraft/screen/AbstractRecipeScreenHandler;getCraftingSlotCount()I
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbkl;a(Lbif;)Zintermediary method_7597Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLbkl;b(Lbif;I)Lboq;intermediary method_7601Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
isSmeltable
- Mappings:
Namespace Name Mixin selector official cLbkm;c(Lboq;)Zintermediary method_7640Lnet/minecraft/class_1720;method_7640(Lnet/minecraft/class_1799;)Znamed isSmeltableLnet/minecraft/screen/AbstractFurnaceScreenHandler;isSmeltable(Lnet/minecraft/item/ItemStack;)Z
-
isFuel
- Mappings:
Namespace Name Mixin selector official dLbkm;d(Lboq;)Zintermediary method_16945Lnet/minecraft/class_1720;method_16945(Lnet/minecraft/class_1799;)Znamed isFuelLnet/minecraft/screen/AbstractFurnaceScreenHandler;isFuel(Lnet/minecraft/item/ItemStack;)Z
-
getCookProgress
- Mappings:
Namespace Name Mixin selector official nLbkm;n()Iintermediary method_17363Lnet/minecraft/class_1720;method_17363()Inamed getCookProgressLnet/minecraft/screen/AbstractFurnaceScreenHandler;getCookProgress()I
-
getFuelProgress
- Mappings:
Namespace Name Mixin selector official oLbkm;o()Iintermediary method_17364Lnet/minecraft/class_1720;method_17364()Inamed getFuelProgressLnet/minecraft/screen/AbstractFurnaceScreenHandler;getFuelProgress()I
-
isBurning
- Mappings:
Namespace Name Mixin selector official pLbkm;p()Zintermediary method_17365Lnet/minecraft/class_1720;method_17365()Znamed isBurningLnet/minecraft/screen/AbstractFurnaceScreenHandler;isBurning()Z
-
getCategory
- Specified by:
getCategoryin classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official qLblu;q()Lblv;intermediary method_30264Lnet/minecraft/class_1729;method_30264()Lnet/minecraft/class_5421;named getCategoryLnet/minecraft/screen/AbstractRecipeScreenHandler;getCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;
-
method_32339
public boolean method_32339(int int2)- Specified by:
method_32339in classAbstractRecipeScreenHandler<Inventory>- Mappings:
Namespace Name Mixin selector official dLblu;d(I)Zintermediary method_32339Lnet/minecraft/class_1729;method_32339(I)Znamed method_32339Lnet/minecraft/screen/AbstractRecipeScreenHandler;method_32339(I)Z
-