Class SettingsFactories.CrafterRecipeSettingFactory

java.lang.Object
com.minecolonies.core.colony.buildings.modules.settings.SettingsFactories.AbstractStringSettingsFactory<CrafterRecipeSetting>
com.minecolonies.core.colony.buildings.modules.settings.SettingsFactories.CrafterRecipeSettingFactory
All Implemented Interfaces:
IStringSettingFactory<CrafterRecipeSetting>, IFactory<FactoryVoidInput,CrafterRecipeSetting>
Enclosing class:
SettingsFactories

public static class SettingsFactories.CrafterRecipeSettingFactory extends SettingsFactories.AbstractStringSettingsFactory<CrafterRecipeSetting>
Specific factory for the string setting with desc.
  • Constructor Details

    • CrafterRecipeSettingFactory

      public CrafterRecipeSettingFactory()
  • Method Details

    • getFactoryOutputType

      @NotNull public @NotNull com.google.common.reflect.TypeToken<CrafterRecipeSetting> getFactoryOutputType()
      Description copied from interface: IFactory
      Method to get the type this factory can produce.
      Returns:
      The type of request this factory can produce.
    • getNewInstance

      @NotNull public @NotNull CrafterRecipeSetting getNewInstance(List<String> value, int curr)
    • getSerializationId

      public short getSerializationId()
      Description copied from interface: IFactory
      Get a serialization id for the factory.
      Returns:
      the short id.