Class CustomTab
java.lang.Object
net.minecraft.world.item.CreativeModeTab
com.petrolpark.client.creativemodetab.CustomTab
public class CustomTab
extends net.minecraft.world.item.CreativeModeTab
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfaceNested classes/interfaces inherited from class net.minecraft.world.item.CreativeModeTab
net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator, net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters, net.minecraft.world.item.CreativeModeTab.Output, net.minecraft.world.item.CreativeModeTab.Row, net.minecraft.world.item.CreativeModeTab.TabVisibility, net.minecraft.world.item.CreativeModeTab.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.google.common.collect.ImmutableList<CustomTab.ITabEntry>final Map<Integer,CustomTab.ITabEntry> A map of slots to entries which should be rendered at that slotFields inherited from class net.minecraft.world.item.CreativeModeTab
displayItems, displayItemsSearchTab, tabsAfter, tabsBefore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildContents(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters) Methods inherited from class net.minecraft.world.item.CreativeModeTab
builder, builder, canScroll, column, contains, getBackgroundLocation, getBackgroundSuffix, getDisplayItems, getDisplayName, getIconItem, getLabelColor, getSearchBarWidth, getSearchTabDisplayItems, getSlotColor, getTabsImage, getType, hasAnyItems, hasSearchBar, isAlignedRight, rebuildSearchTree, row, setSearchTreeBuilder, shouldDisplay, showTitle
-
Field Details
-
entries
-
renderedEntries
A map of slots to entries which should be rendered at that slot
-
-
Constructor Details
-
CustomTab
-
-
Method Details
-
buildContents
public void buildContents(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters parameters) - Overrides:
buildContentsin classnet.minecraft.world.item.CreativeModeTab
-