mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
0.10.0
This commit is contained in:
1 parent
be99313e81
commit
63535e6b3d
79 files changed
+2007
-529
No files matched your search
@@ -2,6 +2,8 @@ package com.moulberry.flashback;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import com.mojang.authlib.properties.PropertyMap;
|
||||
import com.moulberry.flashback.keyframe.Keyframe;
|
||||
import com.moulberry.flashback.keyframe.KeyframeRegistry;
|
||||
import com.moulberry.flashback.keyframe.KeyframeType;
|
||||
@@ -33,6 +35,7 @@ public class FlashbackGson {
|
||||
.registerTypeAdapter(Quaternionf.class, new QuaternionfTypeAdapater())
|
||||
.registerTypeAdapter(Vector3d.class, new Vector3dTypeAdapater())
|
||||
.registerTypeAdapter(Quaterniond.class, new QuaterniondTypeAdapater())
|
||||
.registerTypeAdapter(PropertyMap.class, new PropertyMap.Serializer())
|
||||
.registerTypeHierarchyAdapter(KeyframeType.class, new KeyframeRegistry.TypeAdapter())
|
||||
|
||||
.registerTypeAdapter(CameraKeyframe.class, new CameraKeyframe.TypeAdapter())
|
||||
|
||||
Reference in new issue
Block a user