Package com.binaris.wizardry.client
Class SpellHUDSkin
java.lang.Object
com.binaris.wizardry.client.SpellHUDSkin
-
Constructor Summary
ConstructorsConstructorDescriptionSpellHUDSkin(net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation metadata) -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawBackground(com.mojang.blaze3d.vertex.PoseStack stack, int x, int y, boolean flipX, boolean flipY, net.minecraft.resources.ResourceLocation icon, float cooldownBarProgress, boolean creativeMode, boolean jammed) voiddrawText(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, boolean flipX, boolean flipY, net.minecraft.network.chat.Component prevSpellName, net.minecraft.network.chat.Component spellName, net.minecraft.network.chat.Component nextSpellName, float animationProgress) intgetName()intgetWidth()
-
Constructor Details
-
SpellHUDSkin
public SpellHUDSkin(net.minecraft.resources.ResourceLocation texture, net.minecraft.resources.ResourceLocation metadata)
-
-
Method Details
-
getName
-
getDescription
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
drawBackground
public void drawBackground(com.mojang.blaze3d.vertex.PoseStack stack, int x, int y, boolean flipX, boolean flipY, net.minecraft.resources.ResourceLocation icon, float cooldownBarProgress, boolean creativeMode, boolean jammed) -
drawText
public void drawText(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, boolean flipX, boolean flipY, net.minecraft.network.chat.Component prevSpellName, net.minecraft.network.chat.Component spellName, net.minecraft.network.chat.Component nextSpellName, float animationProgress)
-