mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 19:25:06 +00:00
23 lines
473 B
Java
Executable File
23 lines
473 B
Java
Executable File
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;
|
|
}
|