Initial commit (Forge 1291).
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package net.minecraftforge.cauldron.configuration;
|
||||
|
||||
|
||||
public abstract class Setting<T>
|
||||
{
|
||||
public final String path;
|
||||
public final T def;
|
||||
public final String description;
|
||||
|
||||
public Setting(String path, T def, String description)
|
||||
{
|
||||
this.path = path;
|
||||
this.def = def;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public abstract T getValue();
|
||||
|
||||
public abstract void setValue(String value);
|
||||
}
|
||||
Reference in New Issue
Block a user