Interface SplicingTableIotaRendererProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A factory for
SplicingTableIotaRenderer instances.-
Method Summary
Modifier and TypeMethodDescription@Nullable SplicingTableIotaRenderercreateRenderer(@NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull SplicingTableIotaClientView iota, int x, int y) Creates and returns a newSplicingTableIotaRendererfor the provided iota.
-
Method Details
-
createRenderer
@Nullable @Nullable SplicingTableIotaRenderer createRenderer(@NotNull @NotNull at.petrak.hexcasting.api.casting.iota.IotaType<?> type, @NotNull @NotNull SplicingTableIotaClientView iota, int x, int y) Creates and returns a newSplicingTableIotaRendererfor the provided iota.
May return null if unable to create a renderer for the given iota; in that case, the default renderer will be used instead.
This is called every time the splicing table changes which iotas are currently visible, so don't do anything too laggy in here.
-