Class RecipesUpdatedEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RecipesUpdatedEvent

public class RecipesUpdatedEvent extends net.minecraftforge.eventbus.api.Event
Fired on Dist.CLIENT when RecipeManager has all of its recipes synced from the server to the client (just after a client has connected),
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final RecipeManager
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RecipesUpdatedEvent

      public RecipesUpdatedEvent(RecipeManager mgr)
  • Method Details

    • getRecipeManager

      public RecipeManager getRecipeManager()
      Returns:
      The newly-updated recipe manager that now contains all the recipes that were just received.