2014-12-15 00:11:48 +00:00
|
|
|
package com.cricketcraft.chisel.carving;
|
|
|
|
|
|
2014-10-27 16:26:14 -04:00
|
|
|
import net.minecraft.block.Block;
|
2015-01-13 00:50:10 -05:00
|
|
|
import net.minecraft.client.resources.I18n;
|
2014-10-27 16:26:14 -04:00
|
|
|
import net.minecraft.util.IIcon;
|
|
|
|
|
|
2014-12-16 22:27:44 +00:00
|
|
|
import com.cricketcraft.chisel.client.render.TextureSubmap;
|
|
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public class CarvableVariation {
|
2014-10-27 16:26:14 -04:00
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public String blockName;
|
2015-01-13 00:50:10 -05:00
|
|
|
private String description;
|
2015-01-07 19:50:18 -05:00
|
|
|
public int metadata;
|
|
|
|
|
public int kind;
|
2014-10-27 16:26:14 -04:00
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public Block block;
|
|
|
|
|
public int blockMeta;
|
2014-10-27 16:26:14 -04:00
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public String texture;
|
2014-10-27 16:26:14 -04:00
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public IIcon icon;
|
|
|
|
|
public IIcon iconTop;
|
|
|
|
|
public IIcon iconBot;
|
2014-10-27 16:26:14 -04:00
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public CarvableVariationCTM ctm;
|
|
|
|
|
public TextureSubmap seamsCtmVert;
|
|
|
|
|
public TextureSubmap variations9;
|
2014-10-27 16:26:14 -04:00
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public TextureSubmap submap;
|
|
|
|
|
public TextureSubmap submapSmall;
|
|
|
|
|
|
2015-01-13 00:50:10 -05:00
|
|
|
public String getDescription() {
|
|
|
|
|
return I18n.format(description);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setDescriptionUnloc(String desc) {
|
|
|
|
|
this.description = desc;
|
|
|
|
|
}
|
|
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
static class CarvableVariationCTM {
|
|
|
|
|
|
|
|
|
|
TextureSubmap seams[] = new TextureSubmap[3];
|
|
|
|
|
}
|
2014-10-27 16:26:14 -04:00
|
|
|
}
|