Class TextureTypeRegistryImpl
java.lang.Object
com.supermartijn642.fusion.texture.TextureTypeRegistryImpl
Created 26/04/2023 by SuperMartijn642
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Pair<TextureType<T>,T> deserializeTextureData(com.google.gson.JsonObject json) static voidstatic net.minecraft.resources.ResourceLocationgetIdentifier(TextureType<?> textureType) static voidregisterTextureType(net.minecraft.resources.ResourceLocation identifier, TextureType<?> textureType) static <T> com.google.gson.JsonObjectserializeTextureData(TextureType<T> textureType, T textureData)
-
Constructor Details
-
TextureTypeRegistryImpl
public TextureTypeRegistryImpl()
-
-
Method Details
-
registerTextureType
public static void registerTextureType(net.minecraft.resources.ResourceLocation identifier, TextureType<?> textureType) -
serializeTextureData
public static <T> com.google.gson.JsonObject serializeTextureData(TextureType<T> textureType, T textureData) -
deserializeTextureData
-
getIdentifier
-
finalizeRegistration
public static void finalizeRegistration()
-