Class CustomTab.ITabEntry.Item
java.lang.Object
com.petrolpark.client.creativemodetab.CustomTab.ITabEntry.Item
- All Implemented Interfaces:
CustomTab.ITabEntry
- Direct Known Subclasses:
CustomTab.ITabEntry.ConditionalItem,CustomTab.ITabEntry.DuplicateItem
- Enclosing interface:
CustomTab.ITabEntry
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.petrolpark.client.creativemodetab.CustomTab.ITabEntry
CustomTab.ITabEntry.ConditionalItem, CustomTab.ITabEntry.DuplicateItem, CustomTab.ITabEntry.Item, CustomTab.ITabEntry.Subheading -
Field Summary
FieldsFields inherited from interface com.petrolpark.client.creativemodetab.CustomTab.ITabEntry
EMPTY, LINE_BREAK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItems(List<net.minecraft.world.item.ItemStack> stacks, net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters, IntConsumer specialRenderLocation) Collection<net.minecraft.world.item.ItemStack> getItemsToAddToSearch(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.petrolpark.client.creativemodetab.CustomTab.ITabEntry
getSize, hasSpecialRendering, newLine, render
-
Field Details
-
stack
-
-
Constructor Details
-
Item
-
-
Method Details
-
addItems
public void addItems(List<net.minecraft.world.item.ItemStack> stacks, net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters, IntConsumer specialRenderLocation) - Specified by:
addItemsin interfaceCustomTab.ITabEntry- Parameters:
stacks- The ordered list of stacks to which to add this entryparameters-specialRenderLocation- If this entryhas special rendering, pass this the slot to render it at
-
getItemsToAddToSearch
public Collection<net.minecraft.world.item.ItemStack> getItemsToAddToSearch(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters) - Specified by:
getItemsToAddToSearchin interfaceCustomTab.ITabEntry
-