classpublicPriority 3
SnapshotBuffer
com.hypixel.hytale.server.core.modules.entity.component.SnapshotBuffer
implements Component
9
Methods
9
Public Methods
4
Fields
1
Constructors
Constructors
public
SnapshotBuffer()Methods
Public Methods (9)
public
Component<EntityStore> clone()@Nonnull@Override
publicstatic
ComponentType<EntityStore, SnapshotBuffer> getComponentType()public
int getCurrentTickIndex()public
int getOldestTickIndex()public
EntitySnapshot getSnapshot(int tickIndex)@Nullable
public
EntitySnapshot getSnapshotClamped(int tickIndex)@Nonnull
public
boolean isInitialized()public
void resize(int newLength)public
void storeSnapshot(int tickIndex, Vector3d position, Vector3f bodyRotation)Fields
Private/Package Fields (4)
private
int currentIndexprivate
int currentTickIndexprivate
int oldestTickIndexprivate
EntitySnapshot[] snapshots