Class ClientResourceLoadFinishedEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ClientResourceLoadFinishedEvent

public class ClientResourceLoadFinishedEvent extends net.neoforged.bus.api.Event
Fires after the client has completed loading or reloading its resources successfully.

When the client first starts up, this event is fired after the resource load, but before the client has set up the initial screens, and before we emit the first ClientTickEvent.

  • Field Details

    • initial

      private final boolean initial
  • Constructor Details

    • ClientResourceLoadFinishedEvent

      public ClientResourceLoadFinishedEvent(boolean initial)
  • Method Details

    • isInitial

      public boolean isInitial()
      Returns:
      True if the reload that completed was the initial resource load of the client.