Interface EntitySnapshot.NoneDestructibleSnapshot<E extends LiveEntity>

All Superinterfaces:
Entity<EntitySnapshot<? extends LiveEntity>>, EntitySnapshot<E>, Positionable<SyncExactPosition>
All Known Subinterfaces:
PlayerSnapshot
Enclosing interface:
EntitySnapshot<E extends LiveEntity>

public static interface EntitySnapshot.NoneDestructibleSnapshot<E extends LiveEntity> extends EntitySnapshot<E>
  • Method Details

    • teleportEntity

      E teleportEntity(boolean keepInventory)
      Teleports the entity from its current position into the state of the snapshot
      Parameters:
      keepInventory - If the entity should keep its current inventory or apply the snapshot inventory
      Returns:
      The teleported entity
    • getEntity

      default E getEntity()
      Gets the entity to teleport teleportEntity(boolean)
      Returns:
      The entity of the snapshot