EntityAddSnapshot

public class EntityAddSnapshot implements EntitySnapshot

Class EntityAddSnapshot. Provides entityaddsnapshot functionality for the Hytale server.

java.lang.Object > EntityAddSnapshot

Field Summary

snapshot

final EntityRemoveSnapshot snapshot

Field snapshot.

Method Detail

EntityAddSnapshot

public public EntityAddSnapshot (final Ref entityRef)

Method EntityAddSnapshot.

Parameters:
final Ref entityRef

getEntityRef

public Ref getEntityRef ()

Method getEntityRef.

restoreEntity

public EntityRemoveSnapshot 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