Class UseLocalRecipesConfig
java.lang.Object
com.example.uselocalrecipes.config.UseLocalRecipesConfig
A small json config, implemented without any loader specific config api so both loaders share the file format.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanAllows JEI to transfer recipes even when JEI is not installed on the server.booleanWhether this mod does anything at all.booleanLogs every local recipe file that could not be parsed.booleanWhether the recipes the server sent win over locally read ones.intTicks to wait after joining a world before falling back to locally read recipes.booleanWarns in chat when recipes had to be read from local files because the server did not send them. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UseLocalRecipesConfigget()static UseLocalRecipesConfigload()
-
Field Details
-
enabled
public boolean enabledWhether this mod does anything at all. -
syncDelayTicks
public int syncDelayTicksTicks to wait after joining a world before falling back to locally read recipes. -
preferServerTypes
public boolean preferServerTypesWhether 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 warnAboutLocalRecipesWarns in chat when recipes had to be read from local files because the server did not send them. -
logFailedRecipes
public boolean logFailedRecipesLogs every local recipe file that could not be parsed. -
clientSideTransfer
public boolean clientSideTransferAllows JEI to transfer recipes even when JEI is not installed on the server.
-
-
Constructor Details
-
UseLocalRecipesConfig
public UseLocalRecipesConfig()
-
-
Method Details
-
get
-
load
-