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 when the RecipeManager has received and synced the recipes from the server to the client.

This event is not cancellable, and does not have a result.

This event is fired on the main Forge event bus, only on the logical client.

  • 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
    Returns the recipe manager.

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

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

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • RecipesUpdatedEvent

      @Internal public RecipesUpdatedEvent(RecipeManager recipeManager)
  • Method Details

    • getRecipeManager

      public RecipeManager getRecipeManager()
      Returns the recipe manager.
      Returns:
      the recipe manager