Class RecipeBookContainer<C extends IInventory>
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.RecipeBookContainer<C>
- Direct Known Subclasses:
AbstractFurnaceContainer
,PlayerContainer
,WorkbenchContainer
-
Field Summary
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
abstract void
fillCraftSlotsStackedContents
(RecipeItemHelper p_201771_1_) abstract int
abstract int
abstract RecipeBookCategory
abstract int
abstract int
getSize()
void
handlePlacement
(boolean p_217056_1_, IRecipe<?> p_217056_2_, ServerPlayerEntity p_217056_3_) abstract boolean
recipeMatches
(IRecipe<? super C> p_201769_1_) Methods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, quickMoveStack, removed, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, slotsChanged, stillValid, stillValid
-
Constructor Details
-
RecipeBookContainer
-
-
Method Details
-
handlePlacement
public void handlePlacement(boolean p_217056_1_, IRecipe<?> p_217056_2_, ServerPlayerEntity p_217056_3_) -
fillCraftSlotsStackedContents
-
clearCraftingContent
public abstract void clearCraftingContent() -
recipeMatches
-
getResultSlotIndex
public abstract int getResultSlotIndex() -
getGridWidth
public abstract int getGridWidth() -
getGridHeight
public abstract int getGridHeight() -
getSize
public abstract int getSize() -
getRecipeBookCategories
-
getRecipeBookType
-