Class SplicingTableIotaRenderer

java.lang.Object
gay.object.hexdebug.api.client.splicing.SplicingTableIotaRenderer

public abstract class SplicingTableIotaRenderer extends Object
  • 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

      @NotNull public final @NotNull SplicingTableIotaClientView 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

      @NotNull public @NotNull SplicingTableIotaBackgroundType getBackgroundType()
      Returns the background type for this renderer.
    • createTooltip

      @NotNull public @NotNull net.minecraft.client.gui.components.Tooltip createTooltip()
      Creates and returns a new Tooltip for the provided iota.
      In most cases, you'll likely want to override buildTooltip() instead.
    • buildTooltip

      @NotNull protected @NotNull SplicingTableIotaTooltipBuilder buildTooltip()
      Creates and returns a new SplicingTableIotaTooltipBuilder for the provided iota.
      If you want to provide a tooltip directly instead of using this builder, you can override createTooltip() instead.