Interface IGeometryLoader<T extends IUnbakedGeometry<T>>

All Known Implementing Classes:
CompositeModel.Loader, DynamicFluidContainerModel.Loader, ElementsModel.Loader, FullPotsAccessorDemo.ClientHandler.DioritePotGeometryLoader, ItemLayerModel.Loader, NewModelLoaderTest.TestLoader, ObjLoader, SeparateTransformsModel.Loader

public interface IGeometryLoader<T extends IUnbakedGeometry<T>>
A loader for custom model geometries.

If you do any caching, you should implement ResourceManagerReloadListener and register it with RegisterClientReloadListenersEvent.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext)
     
  • Method Details

    • read

      T read(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) throws com.google.gson.JsonParseException
      Throws:
      com.google.gson.JsonParseException