EntityTransformSnapshot

public class EntityTransformSnapshot implements EntitySnapshot

Class EntityTransformSnapshot. Provides entitytransformsnapshot functionality for the Hytale server.

java.lang.Object > EntityTransformSnapshot

Field Summary

transformComponent

final TransformComponent transformComponent

Field transformComponent.

headRotationComponent

final HeadRotation headRotationComponent

Field headRotationComponent.

Method Detail

EntityTransformSnapshot

public public EntityTransformSnapshot (@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)

Method EntityTransformSnapshot.

Parameters:
@Nonnull final Ref ref
@Nonnull final ComponentAccessor componentAccessor

restoreEntity

public EntityTransformSnapshot restoreEntity (@Nonnull final Player player, @Nonnull final World world, @Nonnull final ComponentAccessor componentAccessor)

Method restoreEntity.

Parameters:
@Nonnull final Player player
@Nonnull final World world
@Nonnull final ComponentAccessor componentAccessor