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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull com.google.common.reflect.TypeToken<DynamicTreesSetting>Method to get the type this factory can produce.@NotNull DynamicTreesSettinggetNewInstance(int def, int current) shortGet a serialization id for the factory.Methods inherited from class com.minecolonies.core.colony.buildings.modules.settings.SettingsFactories.AbstractIntSettingFactory
deserialize, deserialize, getFactoryInputType, serialize, serializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.minecolonies.api.colony.buildings.modules.settings.IIntSettingFactory
getNewInstance
-
Constructor Details
-
DynamicTreesSettingFactory
public DynamicTreesSettingFactory()
-
-
Method Details
-
getNewInstance
-
getFactoryOutputType
@NotNull public @NotNull com.google.common.reflect.TypeToken<DynamicTreesSetting> getFactoryOutputType()Description copied from interface:IFactoryMethod 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:IFactoryGet a serialization id for the factory.- Returns:
- the short id.
-