Interface ForgeChunkManager.LoadingValidationCallback

Enclosing class:
ForgeChunkManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ForgeChunkManager.LoadingValidationCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called back when tickets are about to be loaded and reinstated to allow mods to invalidate and remove specific tickets that may no longer be valid.
  • Method Details

    • validateTickets

      void validateTickets(ServerLevel level, ForgeChunkManager.TicketHelper ticketHelper)
      Called back when tickets are about to be loaded and reinstated to allow mods to invalidate and remove specific tickets that may no longer be valid.
      Parameters:
      level - The level
      ticketHelper - Ticket helper to remove any invalid tickets.