Class CustomTab.ITabEntry.Subheading
java.lang.Object
com.petrolpark.client.creativemodetab.CustomTab.ITabEntry.Subheading
- All Implemented Interfaces:
CustomTab.ITabEntry
- 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
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
addItems, getItemsToAddToSearch
-
Field Details
-
subheading
public final net.minecraft.network.chat.Component subheading
-
-
Constructor Details
-
Subheading
public Subheading(net.minecraft.network.chat.Component subheading)
-
-
Method Details
-
getSize
public int getSize()Description copied from interface:CustomTab.ITabEntryHow many contiguous slots this entry occupies- Specified by:
getSizein interfaceCustomTab.ITabEntry- Returns:
-
newLine
public boolean newLine()Description copied from interface:CustomTab.ITabEntryWhether this entry should begin on a new line- Specified by:
newLinein interfaceCustomTab.ITabEntry- Returns:
-
hasSpecialRendering
public boolean hasSpecialRendering()- Specified by:
hasSpecialRenderingin interfaceCustomTab.ITabEntry
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTick) - Specified by:
renderin interfaceCustomTab.ITabEntry
-