mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-25 14:24:40 +00:00
Cleaned up and updated forge version.
This commit is contained in:
1 parent
6a363b3981
commit
812ef0bf2d
107 files changed
+15
-31
No files matched your search
@@ -0,0 +1,53 @@
|
||||
package mantle.pulsar.pulse;
|
||||
|
||||
/**
|
||||
* Metadata wrapper for parsed @Pulse metadata.
|
||||
*
|
||||
* @author Arkan <[email protected]>
|
||||
*/
|
||||
public class PulseMeta
|
||||
{
|
||||
|
||||
private String id, description;
|
||||
|
||||
private boolean forced, enabled, defaultEnabled;
|
||||
|
||||
public PulseMeta(String id, String description, boolean forced, boolean enabled, boolean defaultEnabled)
|
||||
{
|
||||
this.id = id;
|
||||
this.description = description;
|
||||
this.forced = forced;
|
||||
this.enabled = enabled;
|
||||
this.defaultEnabled = defaultEnabled;
|
||||
}
|
||||
|
||||
public String getId()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public boolean isForced()
|
||||
{
|
||||
return this.forced;
|
||||
}
|
||||
|
||||
public boolean isEnabled()
|
||||
{
|
||||
return this.enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled)
|
||||
{
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public boolean isDefaultEnabled()
|
||||
{
|
||||
return this.defaultEnabled;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user