Interface TicketType<T>

Type Parameters:
T - The type of value that is associated with a Ticket of this type.

@CatalogedBy(TicketTypes.class) public interface TicketType<T>
Represents a type of chunk loading ticket that can be obtained to ensure chunks remain loaded in a ServerWorld.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the lifetime of any tickets of this type.
  • Method Details

    • lifetime

      Ticks lifetime()
      Gets the lifetime of any tickets of this type.
      Returns:
      The number of Ticks any tickets of this type will be valid for.