Interface SplicingTableIotaRendererProvider
public interface SplicingTableIotaRendererProvider
-
Method Summary
Modifier and TypeMethodDescription@NotNull SplicingTableIotaRenderercreateRenderer(@NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull SplicingTableIotaClientView iota, int x, int y) Creates and returns a new renderer for the provided iota.default @NotNull SplicingTableIotaTooltipcreateTooltip(@NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull SplicingTableIotaClientView iota) Creates and returns a new tooltip for the provided iota.default @NotNull SplicingTableIotaBackgroundTypegetBackgroundType(@NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull SplicingTableIotaClientView iota) Returns the background type for this renderer.
-
Method Details
-
createRenderer
@NotNull @NotNull SplicingTableIotaRenderer createRenderer(@NotNull @NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull @NotNull SplicingTableIotaClientView iota, int x, int y) Creates and returns a new renderer for the provided iota.
This is called every time the splicing table changes which iotas are currently visible, so don't do anything too laggy in here. -
createTooltip
@NotNull default @NotNull SplicingTableIotaTooltip createTooltip(@NotNull @NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull @NotNull SplicingTableIotaClientView iota) Creates and returns a new tooltip for the provided iota.
This is called every time the splicing table changes which iotas are currently visible, so don't do anything too laggy in here. -
getBackgroundType
@NotNull default @NotNull SplicingTableIotaBackgroundType getBackgroundType(@NotNull @NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull @NotNull SplicingTableIotaClientView iota) Returns the background type for this renderer.
This is called every time the splicing table changes which iotas are currently visible, so don't do anything too laggy in here.
-