Class SectionColored
java.lang.Object
net.mcexpanded.fancytabsections.Section.AbstractSectionWithTitle<SectionColored>
net.mcexpanded.fancytabsections.Section.SectionColored
- All Implemented Interfaces:
Section<SectionColored>,StickySection
- Since:
- 4.0
-
Field Summary
FieldsFields inherited from class net.mcexpanded.fancytabsections.Section.AbstractSectionWithTitle
renderTitle, textColor, textOutline, textShadow, title, titleOffsetX, titleOffsetY -
Constructor Summary
ConstructorsConstructorDescriptionSectionColored(net.minecraft.resources.ResourceLocation id) SectionColored(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int bannerColor, int textColor, boolean textShadow, boolean collapsible, ConglomerateOfItems items) SectionColored(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int bannerColor, int textColor, int textOutline, boolean textShadow, boolean collapsible, int verticalSize, int horizontalSize, ConglomerateOfItems items) SectionColored(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int bannerColor, int textColor, ConglomerateOfItems items) -
Method Summary
Modifier and TypeMethodDescriptioncreate(net.minecraft.resources.ResourceLocation id) net.minecraft.resources.ResourceLocationid()items()voidrender(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, int topLeftX, int topLeftY) setBannerBorderColor(int bannerBorderColor) setBannerColor(int bannerColor) setCollapsible(boolean collapsible) setHorizontalSize(int horizontalSize) setItems(ConglomerateOfItems items) setOffsetX(int offsetX) setOffsetY(int offsety) setVerticalSize(int verticalSize) Methods inherited from class net.mcexpanded.fancytabsections.Section.AbstractSectionWithTitle
centeredScrollingText, collapsible, icon, isSticky, onReload, renderTitle, scrollingText, setCentered, setDisplayItem, setOnRender, setOnRenderConsumer, setRenderTitle, setSticky, setTextColor, setTextOutline, setTextShadow, setTitle, setTitle, setTitleOffset, titleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.mcexpanded.fancytabsections.Section.Section
add, add, add, add, add, add, add, addItemTag, renderToggle
-
Field Details
-
bannerColor
public int bannerColor -
bannerBorderColor
public int bannerBorderColor
-
-
Constructor Details
-
SectionColored
public SectionColored(net.minecraft.resources.ResourceLocation id) -
SectionColored
public SectionColored(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int bannerColor, int textColor, int textOutline, boolean textShadow, boolean collapsible, int verticalSize, int horizontalSize, ConglomerateOfItems items) -
SectionColored
public SectionColored(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int bannerColor, int textColor, boolean textShadow, boolean collapsible, ConglomerateOfItems items) - Since:
- 1.0
-
SectionColored
public SectionColored(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int bannerColor, int textColor, ConglomerateOfItems items) - Since:
- 1.0
-
-
Method Details
-
create
-
render
@Internal public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, int topLeftX, int topLeftY) - Specified by:
renderin interfaceSection<SectionColored>- Overrides:
renderin classAbstractSectionWithTitle<SectionColored>
-
id
public net.minecraft.resources.ResourceLocation id()- Specified by:
idin interfaceSection<SectionColored>- Overrides:
idin classAbstractSectionWithTitle<SectionColored>
-
items
- Specified by:
itemsin interfaceSection<SectionColored>- Overrides:
itemsin classAbstractSectionWithTitle<SectionColored>
-
setCollapsible
- Overrides:
setCollapsiblein classAbstractSectionWithTitle<SectionColored>
-
setBannerColor
-
setVerticalSize
-
setHorizontalSize
-
setItems
- Overrides:
setItemsin classAbstractSectionWithTitle<SectionColored>
-
setBannerBorderColor
- Since:
- 5.0
-
setOffsetX
- Since:
- 5.0
-
setOffsetY
- Since:
- 5.0
-
setTextureInsideRow
- Since:
- 5.0
-