mirror of
https://github.com/GTNewHorizons/GTNHLib.git
synced 2026-11-28 07:35:51 +00:00
What could possibly go wrong?
This commit is contained in:
1 parent
7282768d11
commit
6e34cf1a79
1 file changed
+3
@@ -25,6 +25,9 @@ import com.gtnewhorizon.gtnhlib.client.model.state.StateDeserializer;
|
||||
import com.gtnewhorizon.gtnhlib.client.model.state.StateModelMap;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/// Handles model loading and caching. All caches are size-based - this means that if a model has enough parents, it may
|
||||
/// exhaust the caches and unload itself before being fully baked. There *probably* won't be any consequences for this
|
||||
/// beyond excessively complex models being loaded multiple times... add a counter if I'm wrong.
|
||||
public class ModelRegistry {
|
||||
|
||||
private static final Gson GSON = new GsonBuilder()
|
||||
|
||||
Reference in new issue
Block a user