net.minecraft.inventory

public interface ItemIterator

net.minecraft.world.item.ItemProvider
net.minecraft.class_1_1040
net.minecraft.inventory.ItemIterator

Method summary

Modifier and TypeMethod
boolean
hasNext()
method_1_6472()
hasNext()
void
restart()
method_1_6479()
reset()
ItemStack
next()
method_1_6474()
next()
ItemStack
peek()
method_1_6478()
peek()
boolean
findNext(Predicate<ItemStack> predicate)
method_1_6470(Predicate<class_1799> arg0)
skipUntil(Predicate<ItemStack> predicate)
default boolean
findNextNonEmpty()
method_1_6471()
skipToNonEmpty()
default ItemIterator
orElseProvide(ItemStack fallbackItem)
method_1_6477(class_1799 arg0)
withFallback(ItemStack stack)
static ItemIterator
of(ItemStack... items)
method_1_6476(class_1799... arg0)
of(ItemStack... stacks)
static ItemIterator
of(Collection<ItemStack> items)
method_1_6475(Collection<class_1799> arg0)
of(Collection<ItemStack> stacks)
static ItemIterator
cycle(ItemStack... items)
method_1_6469(class_1799... arg0)
cycling(ItemStack... stacks)
static ItemIterator
cycle(Collection<ItemStack> items)
method_1_6468(Collection<class_1799> arg0)
cycling(Collection<ItemStack> stacks)
private static boolean
lambda$findNextNonEmpty$0(ItemStack arg0)
method_1_6473(class_1799 arg0)
method_1_6473(ItemStack stack)