public abstract class AbstractFurnaceContainer extends RecipeBookContainer<IInventory>
| Modifier and Type | Field and Description |
|---|---|
protected World |
world |
inventorySlots, windowId| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFurnaceContainer(ContainerType<?> containerTypeIn,
IRecipeType<? extends AbstractCookingRecipe> recipeTypeIn,
int id,
PlayerInventory playerInventoryIn) |
protected |
AbstractFurnaceContainer(ContainerType<?> containerTypeIn,
IRecipeType<? extends AbstractCookingRecipe> recipeTypeIn,
int id,
PlayerInventory playerInventoryIn,
IInventory furnaceInventoryIn,
IIntArray p_i50104_6_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(PlayerEntity playerIn) |
void |
clear() |
void |
func_201771_a(RecipeItemHelper p_201771_1_) |
void |
func_217056_a(boolean p_217056_1_,
IRecipe<?> p_217056_2_,
ServerPlayerEntity p_217056_3_) |
protected boolean |
func_217057_a(ItemStack p_217057_1_) |
boolean |
func_217061_l() |
int |
getBurnLeftScaled() |
int |
getCookProgressionScaled() |
int |
getHeight() |
int |
getOutputSlot() |
int |
getSize() |
int |
getWidth() |
protected boolean |
isFuel(ItemStack p_217058_1_) |
boolean |
matches(IRecipe<? super IInventory> recipeIn) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
getRecipeBookCategoriesaddListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBarprotected final World world
protected AbstractFurnaceContainer(ContainerType<?> containerTypeIn, IRecipeType<? extends AbstractCookingRecipe> recipeTypeIn, int id, PlayerInventory playerInventoryIn)
protected AbstractFurnaceContainer(ContainerType<?> containerTypeIn, IRecipeType<? extends AbstractCookingRecipe> recipeTypeIn, int id, PlayerInventory playerInventoryIn, IInventory furnaceInventoryIn, IIntArray p_i50104_6_)
public void func_201771_a(RecipeItemHelper p_201771_1_)
func_201771_a in class RecipeBookContainer<IInventory>public void clear()
clear in class RecipeBookContainer<IInventory>public void func_217056_a(boolean p_217056_1_,
IRecipe<?> p_217056_2_,
ServerPlayerEntity p_217056_3_)
func_217056_a in class RecipeBookContainer<IInventory>public boolean matches(IRecipe<? super IInventory> recipeIn)
matches in class RecipeBookContainer<IInventory>public int getOutputSlot()
getOutputSlot in class RecipeBookContainer<IInventory>public int getWidth()
getWidth in class RecipeBookContainer<IInventory>public int getHeight()
getHeight in class RecipeBookContainer<IInventory>public int getSize()
getSize in class RecipeBookContainer<IInventory>public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
transferStackInSlot in class Containerprotected boolean func_217057_a(ItemStack p_217057_1_)
protected boolean isFuel(ItemStack p_217058_1_)
public int getCookProgressionScaled()
public int getBurnLeftScaled()
public boolean func_217061_l()