Class ReplayRecording
java.lang.Object
com.zenith.feature.replay.ReplayRecording
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longvoidhandleInboundPacket(long time, MinecraftPacket packet, Session session) Known issues because we don't cache these states: Block breaking progress Sleeping animationvoidhandleOutgoingPacket(long time, MinecraftPacket packet, Session session) voidvoidwritePacket(long time, MinecraftPacket packet, Session session) voidwritePacket(long time, MinecraftPacket packet, Session session, ProtocolState protocolState)
-
Constructor Details
-
ReplayRecording
-
-
Method Details
-
startRecording
-
writePacket
-
writePacket
public void writePacket(long time, MinecraftPacket packet, Session session, ProtocolState protocolState) -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
handleOutgoingPacket
-
handleInboundPacket
Known issues because we don't cache these states: Block breaking progress Sleeping animation -
getReplayFile
-
getStartT
public long getStartT()
-