All Implemented Interfaces:
IMessage

public class ToggleRecipeMessage extends AbstractBuildingServerMessage<IBuilding>
Message to toggle recipes (enable/disable).
  • Constructor Details

    • ToggleRecipeMessage

      public ToggleRecipeMessage()
      Empty public constructor.
    • ToggleRecipeMessage

      public ToggleRecipeMessage(@NotNull @NotNull IBuildingView building, int location, int id)
      Creates message for player to enable/disable a recipe.
      Parameters:
      building - view of the building to read data from
      location - the recipeLocation.
      id - the unique id of the crafting module.
  • Method Details