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 bjsintermediary 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, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official dLbjs;d:Lapj;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 eLbjs;e:Lbkb;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 cLbjs;c:Lbtv;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 fLbjs;f:Lbqq;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 gLbjs;g:Lbla;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>Lbjs;<init>(Lbku;Lbqq;Lbla;ILbhk;)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>Lbjs;<init>(Lbku;Lbqq;Lbla;ILbhk;Lapj;Lbkb;)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 aLbkz;a(Lbhn;)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 eLbkz;e()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 aLbkz;a(Lbqn;)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 fLbkz;f()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 gLbkz;g()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 hLbkz;h()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 iLbkz;i()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 aLbjr;a(Lbhl;)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 bLbjr;b(Lbhl;I)Lbnv;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 aLbjs;a(Lbnv;)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 bLbjs;b(Lbnv;)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 jLbjs;j()Iintermediary method_17363Lnet/minecraft/class_1720;method_17363()Inamed getCookProgressLnet/minecraft/screen/AbstractFurnaceScreenHandler;getCookProgress()I
-
getFuelProgress
- Mappings:
Namespace Name Mixin selector official kLbjs;k()Iintermediary method_17364Lnet/minecraft/class_1720;method_17364()Inamed getFuelProgressLnet/minecraft/screen/AbstractFurnaceScreenHandler;getFuelProgress()I
-
isBurning
- Mappings:
Namespace Name Mixin selector official lLbjs;l()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 mLbkz;m()Lbla;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 dLbkz;d(I)Zintermediary method_32339Lnet/minecraft/class_1729;method_32339(I)Znamed method_32339Lnet/minecraft/screen/AbstractRecipeScreenHandler;method_32339(I)Z
-