Class SplicingTableIotaRenderer
java.lang.Object
gay.object.hexdebug.api.client.splicing.SplicingTableIotaRenderer
-
Constructor Summary
ConstructorsConstructorDescriptionSplicingTableIotaRenderer(@NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull SplicingTableIotaClientView iota, int x, int y) -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull SplicingTableIotaTooltipBuilderCreates and returns a newSplicingTableIotaTooltipBuilderfor the provided iota.@NotNull net.minecraft.client.gui.components.TooltipCreates and returns a newTooltipfor the provided iota.@NotNull SplicingTableIotaBackgroundTypeReturns the background type for this renderer.final @NotNull SplicingTableIotaClientViewgetIota()final @NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?>getType()final intgetX()final intgetY()abstract voidrender(@NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) Renders one frame of this iota.
-
Constructor Details
-
SplicingTableIotaRenderer
public SplicingTableIotaRenderer(@NotNull @NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull @NotNull SplicingTableIotaClientView iota, int x, int y)
-
-
Method Details
-
getType
@NotNull public final @NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> getType() -
getIota
-
getX
public final int getX() -
getY
public final int getY() -
render
public abstract void render(@NotNull @NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) Renders one frame of this iota. -
getBackgroundType
Returns the background type for this renderer. -
createTooltip
@NotNull public @NotNull net.minecraft.client.gui.components.Tooltip createTooltip()Creates and returns a newTooltipfor the provided iota.
In most cases, you'll likely want to overridebuildTooltip()instead. -
buildTooltip
Creates and returns a newSplicingTableIotaTooltipBuilderfor the provided iota.
If you want to provide a tooltip directly instead of using this builder, you can overridecreateTooltip()instead.
-