Added Spectator Keyframes and handles them properly in both normal and rendered Replay Paths
This commit is contained in:
@@ -71,8 +71,13 @@ public class ReplayHandler {
|
||||
}
|
||||
|
||||
public static void spectateEntity(Entity e) {
|
||||
currentEntity = e;
|
||||
mc.setRenderViewEntity(currentEntity);
|
||||
if(e == null) {
|
||||
spectateCamera();
|
||||
}
|
||||
else {
|
||||
currentEntity = e;
|
||||
mc.setRenderViewEntity(currentEntity);
|
||||
}
|
||||
}
|
||||
|
||||
public static void spectateCamera() {
|
||||
|
||||
Reference in New Issue
Block a user