Class RecipeMatrixContainer
java.lang.Object
net.minecraft.world.inventory.TransientCraftingContainer
com.refinedmods.refinedstorage.common.support.RecipeMatrixContainer
- All Implemented Interfaces:
net.minecraft.world.Clearable
,net.minecraft.world.Container
,net.minecraft.world.inventory.CraftingContainer
,net.minecraft.world.inventory.StackedContentsCompatible
public class RecipeMatrixContainer
extends net.minecraft.world.inventory.TransientCraftingContainer
-
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
changed()
boolean
clearIntoStorage
(RootStorage rootStorage, net.minecraft.world.entity.player.Player player) boolean
clearToPlayerInventory
(net.minecraft.world.entity.player.Player player) boolean
isMuted()
void
transferRecipe
(net.minecraft.world.entity.player.Player player, RootStorage rootStorage, List<List<ItemResource>> recipe) void
updateMatrixAndNotifyListenerLater
(Runnable callback) Methods inherited from class net.minecraft.world.inventory.TransientCraftingContainer
clearContent, fillStackedContents, getContainerSize, getHeight, getItem, getItems, getWidth, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, stillValid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, startOpen, stopOpen
Methods inherited from interface net.minecraft.world.inventory.CraftingContainer
asCraftInput, asPositionedCraftInput
-
Constructor Details
-
RecipeMatrixContainer
-
-
Method Details
-
changed
public void changed() -
clearToPlayerInventory
public boolean clearToPlayerInventory(net.minecraft.world.entity.player.Player player) -
clearIntoStorage
public boolean clearIntoStorage(RootStorage rootStorage, net.minecraft.world.entity.player.Player player) -
transferRecipe
public void transferRecipe(net.minecraft.world.entity.player.Player player, @Nullable RootStorage rootStorage, List<List<ItemResource>> recipe) -
updateMatrixAndNotifyListenerLater
-
isMuted
public boolean isMuted()
-