mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 19:25:06 +00:00
first commit
This commit is contained in:
commit
c79c767bb8
1389 files changed
+10744
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package info.jbcs.minecraft.chisel;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
public class CarvingVariation implements Comparable {
|
||||
public CarvingVariation(Block block, int metadata, int ord) {
|
||||
this.order=ord;
|
||||
this.block=block;
|
||||
this.meta=metadata;
|
||||
this.damage=metadata;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(Object a) {
|
||||
return order-((CarvingVariation)a).order;
|
||||
}
|
||||
|
||||
public int order;
|
||||
public Block block;
|
||||
public int meta;
|
||||
public int damage;
|
||||
}
|
||||
Reference in new issue
Block a user