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 world, 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:
      world - The world
      ticketHelper - Ticket helper to remove any invalid tickets.