public abstract class AbstractFurnaceContainer extends RecipeBookContainer<IInventory>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected World |
world |
inventorySlots, windowId| 修飾子 | コンストラクタと説明 |
|---|---|
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_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canInteractWith(PlayerEntity playerIn)
Determines whether supplied player can use this container
|
void |
clear() |
void |
fillStackedContents(RecipeItemHelper itemHelperIn) |
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)
Handle when the stack in slot
index is shift-clicked. |
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 fillStackedContents(RecipeItemHelper itemHelperIn)
fillStackedContents クラス内 RecipeBookContainer<IInventory>public void clear()
clear クラス内 RecipeBookContainer<IInventory>public void func_217056_a(boolean p_217056_1_,
IRecipe<?> p_217056_2_,
ServerPlayerEntity p_217056_3_)
func_217056_a クラス内 RecipeBookContainer<IInventory>public boolean matches(IRecipe<? super IInventory> recipeIn)
matches クラス内 RecipeBookContainer<IInventory>public int getOutputSlot()
getOutputSlot クラス内 RecipeBookContainer<IInventory>public int getWidth()
getWidth クラス内 RecipeBookContainer<IInventory>public int getHeight()
getHeight クラス内 RecipeBookContainer<IInventory>public int getSize()
getSize クラス内 RecipeBookContainer<IInventory>public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith クラス内 Containerpublic ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
index is shift-clicked. Normally this moves the stack between the player
inventory and the other inventory(s).transferStackInSlot クラス内 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()