Class UseLocalRecipesConfig

java.lang.Object
com.example.uselocalrecipes.config.UseLocalRecipesConfig

public class UseLocalRecipesConfig extends Object
A small json config, implemented without any loader specific config api so both loaders share the file format.
  • Field Details

    • enabled

      public boolean enabled
      Whether this mod does anything at all.
    • syncDelayTicks

      public int syncDelayTicks
      Ticks to wait after joining a world before falling back to locally read recipes.
    • preferServerTypes

      public boolean preferServerTypes
      Whether the recipes the server sent win over locally read ones. When disabled, local recipes of a recipe type the server sent are added on top, which only helps when the server sends incomplete data.
    • warnAboutLocalRecipes

      public boolean warnAboutLocalRecipes
      Warns in chat when recipes had to be read from local files because the server did not send them.
    • logFailedRecipes

      public boolean logFailedRecipes
      Logs every local recipe file that could not be parsed.
    • clientSideTransfer

      public boolean clientSideTransfer
      Allows JEI to transfer recipes even when JEI is not installed on the server.
  • Constructor Details

    • UseLocalRecipesConfig

      public UseLocalRecipesConfig()
  • Method Details