Interface ItemGroupFiller
- All Known Implementing Classes:
AlphabeticalItemGroupFiller,ModdedTargetedItemGroupFiller,TargetedItemGroupFiller,VanillaTargetedItemGroupFiller
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface implemented on classes for special filling of
Items in CreativeModeTabs.-
Method Summary
Modifier and TypeMethodDescriptionvoidfillItem(net.minecraft.world.item.Item item, net.minecraft.world.item.CreativeModeTab tab, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> items) Fills anItemfor aCreativeModeTabgiven aNonNullListof theItemStacks for thatCreativeModeTab.
-
Method Details
-
fillItem
void fillItem(net.minecraft.world.item.Item item, net.minecraft.world.item.CreativeModeTab tab, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> items) Fills anItemfor aCreativeModeTabgiven aNonNullListof theItemStacks for thatCreativeModeTab.- Parameters:
item- TheItemto fill.tab- TheCreativeModeTabto fill into.items- ANonNullListof theItemStacks for theCreativeModeTab.
-