Class SettingsFactories.DynamicTreesSettingFactory

java.lang.Object
com.minecolonies.core.colony.buildings.modules.settings.SettingsFactories.AbstractIntSettingFactory<DynamicTreesSetting>
com.minecolonies.core.colony.buildings.modules.settings.SettingsFactories.DynamicTreesSettingFactory
All Implemented Interfaces:
IIntSettingFactory<DynamicTreesSetting>, IFactory<FactoryVoidInput,DynamicTreesSetting>
Enclosing class:
SettingsFactories

public static class SettingsFactories.DynamicTreesSettingFactory extends SettingsFactories.AbstractIntSettingFactory<DynamicTreesSetting>
  • Constructor Details

    • DynamicTreesSettingFactory

      public DynamicTreesSettingFactory()
  • Method Details

    • getNewInstance

      @NotNull public @NotNull DynamicTreesSetting getNewInstance(int def, int current)
    • getFactoryOutputType

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

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