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 bjs
intermediary net/minecraft/class_1720
named net/minecraft/screen/AbstractFurnaceScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private RecipeBookCategory
category
private Inventory
inventory
private PropertyDelegate
propertyDelegate
private RecipeType<? extends AbstractCookingRecipe>
recipeType
protected World
world
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory)
protected
AbstractFurnaceScreenHandler(ScreenHandlerType<?> type, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookCategory recipeBookCategory, int int2, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate)
-
Method Summary
Modifier and Type Method Description boolean
canUse(PlayerEntity player)
void
clearCraftingSlots()
RecipeBookCategory
getCategory()
int
getCookProgress()
int
getCraftingHeight()
int
getCraftingResultSlotIndex()
int
getCraftingSlotCount()
int
getCraftingWidth()
int
getFuelProgress()
boolean
isBurning()
protected boolean
isFuel(ItemStack itemStack)
protected boolean
isSmeltable(ItemStack itemStack)
boolean
matches(Recipe<? super Inventory> recipe)
boolean
method_32339(int int2)
void
populateRecipeFinder(RecipeFinder finder)
ItemStack
transferSlot(PlayerEntity player, int index)
Methods inherited from class net.minecraft.screen.AbstractRecipeScreenHandler
fillInputSlots
Methods 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 d
Lbjs;d:Lapj;
intermediary field_7824
Lnet/minecraft/class_1720;field_7824:Lnet/minecraft/class_1263;
named inventory
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official e
Lbjs;e:Lbkb;
intermediary field_17286
Lnet/minecraft/class_1720;field_17286:Lnet/minecraft/class_3913;
named propertyDelegate
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
world
- Mappings:
Namespace Name Mixin selector official c
Lbjs;c:Lbtv;
intermediary field_7822
Lnet/minecraft/class_1720;field_7822:Lnet/minecraft/class_1937;
named world
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;world:Lnet/minecraft/world/World;
-
recipeType
- Mappings:
Namespace Name Mixin selector official f
Lbjs;f:Lbqq;
intermediary field_17494
Lnet/minecraft/class_1720;field_17494:Lnet/minecraft/class_3956;
named recipeType
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;recipeType:Lnet/minecraft/recipe/RecipeType;
-
category
- Mappings:
Namespace Name Mixin selector official g
Lbjs;g:Lbla;
intermediary field_25762
Lnet/minecraft/class_1720;field_25762:Lnet/minecraft/class_5421;
named category
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_1720;<init>(Lnet/minecraft/class_3917;Lnet/minecraft/class_3956;Lnet/minecraft/class_5421;ILnet/minecraft/class_1661;)V
named <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;)V
intermediary <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;)V
named <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:
populateRecipeFinder
in classAbstractRecipeScreenHandler<Inventory>
- 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 void clearCraftingSlots()- Specified by:
clearCraftingSlots
in classAbstractRecipeScreenHandler<Inventory>
- 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
- Specified by:
matches
in classAbstractRecipeScreenHandler<Inventory>
- 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 int getCraftingResultSlotIndex()- Specified by:
getCraftingResultSlotIndex
in classAbstractRecipeScreenHandler<Inventory>
- 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 int getCraftingWidth()- Specified by:
getCraftingWidth
in classAbstractRecipeScreenHandler<Inventory>
- 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 int getCraftingHeight()- Specified by:
getCraftingHeight
in classAbstractRecipeScreenHandler<Inventory>
- 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 int getCraftingSlotCount()- Specified by:
getCraftingSlotCount
in classAbstractRecipeScreenHandler<Inventory>
- 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
-
canUse
- Specified by:
canUse
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbhl;)Z
intermediary method_7597
Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
named canUse
Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbjr;b(Lbhl;I)Lbnv;
intermediary method_7601
Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
named transferSlot
Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
isSmeltable
- Mappings:
Namespace Name Mixin selector official a
Lbjs;a(Lbnv;)Z
intermediary method_7640
Lnet/minecraft/class_1720;method_7640(Lnet/minecraft/class_1799;)Z
named isSmeltable
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;isSmeltable(Lnet/minecraft/item/ItemStack;)Z
-
isFuel
- Mappings:
Namespace Name Mixin selector official b
Lbjs;b(Lbnv;)Z
intermediary method_16945
Lnet/minecraft/class_1720;method_16945(Lnet/minecraft/class_1799;)Z
named isFuel
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;isFuel(Lnet/minecraft/item/ItemStack;)Z
-
getCookProgress
- Mappings:
Namespace Name Mixin selector official j
Lbjs;j()I
intermediary method_17363
Lnet/minecraft/class_1720;method_17363()I
named getCookProgress
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;getCookProgress()I
-
getFuelProgress
- Mappings:
Namespace Name Mixin selector official k
Lbjs;k()I
intermediary method_17364
Lnet/minecraft/class_1720;method_17364()I
named getFuelProgress
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;getFuelProgress()I
-
isBurning
- Mappings:
Namespace Name Mixin selector official l
Lbjs;l()Z
intermediary method_17365
Lnet/minecraft/class_1720;method_17365()Z
named isBurning
Lnet/minecraft/screen/AbstractFurnaceScreenHandler;isBurning()Z
-
getCategory
- Specified by:
getCategory
in classAbstractRecipeScreenHandler<Inventory>
- 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 boolean method_32339(int int2)- Specified by:
method_32339
in classAbstractRecipeScreenHandler<Inventory>
- 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
-