Class ItemContainerContents.Mutable
java.lang.Object
net.minecraft.world.item.component.SimpleMutableContainer<ItemContainerContents>
net.minecraft.world.item.component.GrowableMutableContainer<ItemContainerContents>
net.minecraft.world.item.component.ItemContainerContents.Mutable
- All Implemented Interfaces:
ContainerComponent.Mutable<ItemContainerContents>, SlotCollection
- Enclosing class:
ItemContainerContents
public static class ItemContainerContents.Mutable
extends GrowableMutableContainer<ItemContainerContents>
-
Nested Class Summary
Nested classes/interfaces inherited from interface SlotCollection
SlotCollection.Filtered, SlotCollection.FlatMapped, SlotCollection.Limited -
Field Summary
Fields inherited from class SimpleMutableContainer
itemsFields inherited from interface SlotCollection
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class GrowableMutableContainer
addSlotWithItem, replaceSlotItemsMethods inherited from class SimpleMutableContainer
itemCopies, modifySlots, setItem, sizeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SlotCollection
filter, flatMap, limit, modifySlots, replaceSlotItems
-
Constructor Details
-
Mutable
-
-
Method Details
-
canInsertNewSlots
public boolean canInsertNewSlots()- Specified by:
canInsertNewSlotsin classGrowableMutableContainer<ItemContainerContents>
-
toImmutable
-