Class SectionAnimatedTextured
java.lang.Object
net.mcexpanded.fancytabsections.Section.AbstractSectionWithTitle<SectionTextured>
net.mcexpanded.fancytabsections.Section.SectionTextured
net.mcexpanded.fancytabsections.Section.SectionAnimatedTextured
- All Implemented Interfaces:
Section<SectionTextured>,StickySection
- Since:
- 3.0
-
Field Summary
Fields inherited from class net.mcexpanded.fancytabsections.Section.AbstractSectionWithTitle
textColor, textOutline, textShadow, title, titleOffsetX, titleOffsetY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SectionAnimatedTexturedof(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int frames, float frameTimeInMS, int textColor, boolean textShadow, boolean collapsible, ConglomerateOfItems items) The texture must be placed at [namespace]:textures/gui/fancy_tab_section/[path].png when using this buildervoidrender(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, int topLeftX, int topLeftY) setFrames(int frames) setFrameTimeInMS(float frameTimeInMS) Methods inherited from class net.mcexpanded.fancytabsections.Section.SectionTextured
create, of, setHorizontalSize, setTexture, setTextureInsideRow, setTextureOffset, setTextureOffsetX, setTextureOffsetY, setTextureRaw, setTitle, setVerticalSizeMethods inherited from class net.mcexpanded.fancytabsections.Section.AbstractSectionWithTitle
collapsible, id, isSticky, items, renderTitle, setCentered, setCollapsible, setItems, setOnRender, setSticky, setTextColor, setTextOutline, setTextShadow, setTitle, setTitleOffset
-
Constructor Details
-
SectionAnimatedTextured
public SectionAnimatedTextured(net.minecraft.resources.ResourceLocation id)
-
-
Method Details
-
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, int topLeftX, int topLeftY) - Specified by:
renderin interfaceSection<SectionTextured>- Overrides:
renderin classSectionTextured
-
of
public static SectionAnimatedTextured of(net.minecraft.resources.ResourceLocation id, net.minecraft.network.chat.Component title, int frames, float frameTimeInMS, int textColor, boolean textShadow, boolean collapsible, ConglomerateOfItems items) The texture must be placed at [namespace]:textures/gui/fancy_tab_section/[path].png when using this builder- Since:
- 3.0
-
setFrames
-
setFrameTimeInMS
-