Class SplicingTableIotaRenderers
java.lang.Object
gay.object.hexdebug.api.client.splicing.SplicingTableIotaRenderers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable SplicingTableIotaRendererParser<?>getParser(@NotNull net.minecraft.resources.ResourceLocation parserId) static @NotNull SplicingTableIotaRendererProviderloadProvider(@NotNull net.minecraft.resources.ResourceLocation providerId) Get/load a provider by ID.static @NotNull SplicingTableIotaRendererProviderparseProvider(@NotNull com.google.gson.JsonObject jsonObject) Parse a provider from a raw JSON object.static voidregister(@NotNull net.minecraft.resources.ResourceLocation parserId, @NotNull SplicingTableIotaRendererParser<?> parser) Register a splicing table iota renderer.
-
Constructor Details
-
SplicingTableIotaRenderers
public SplicingTableIotaRenderers()
-
-
Method Details
-
register
public static void register(@NotNull @NotNull net.minecraft.resources.ResourceLocation parserId, @NotNull @NotNull SplicingTableIotaRendererParser<?> parser) Register a splicing table iota renderer.
This is used to parse resource files and create providers for iota renderers. -
loadProvider
@NotNull public static @NotNull SplicingTableIotaRendererProvider loadProvider(@NotNull @NotNull net.minecraft.resources.ResourceLocation providerId) Get/load a provider by ID. Throws if the referenced provider does not exist or fails to load. Intended for use in providers that reference other providers.
This should only be called from inside ofSplicingTableIotaRendererParser.parse(com.google.gson.Gson, com.google.gson.JsonObject, T). -
parseProvider
@NotNull public static @NotNull SplicingTableIotaRendererProvider parseProvider(@NotNull @NotNull com.google.gson.JsonObject jsonObject) Parse a provider from a raw JSON object. Intended for use in providers that contain other providers.
This should only be called from inside ofSplicingTableIotaRendererParser.parse(com.google.gson.Gson, com.google.gson.JsonObject, T). -
getParser
@Internal @Nullable public static @Nullable SplicingTableIotaRendererParser<?> getParser(@NotNull @NotNull net.minecraft.resources.ResourceLocation parserId)
-