mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-22 12:59:49 +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,36 @@
|
||||
package mantle.blocks.util.blockstates;
|
||||
|
||||
public class BlockVariant implements Comparable<BlockVariant>
|
||||
{
|
||||
private int meta;
|
||||
|
||||
private String name;
|
||||
|
||||
public BlockVariant(int meta, String name)
|
||||
{
|
||||
this.meta = meta;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getMeta()
|
||||
{
|
||||
return this.meta;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(BlockVariant variant)
|
||||
{
|
||||
return this.meta;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return this.getName();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user