Those are the textures for it, I can't figure out the CTM logic. Plus I made it so carvable glow can be colored by the dye or regular

This commit is contained in:
Cricket committed 2015-05-30 17:34:02 -04:00
1 parent cb1c69d850
commit 46bea5a0a3
6 files changed
+78 -2

No files matched your search

@@ -15,11 +15,13 @@ public class BlockCarvableGlow extends BlockCarvableColor {
private IIcon glowTexture;
private String glowTexturePath;
private boolean isColored;
public BlockCarvableGlow(String glowTexture) {
public BlockCarvableGlow(String glowTexture, boolean colorized) {
super();
setLightLevel(0.5f);
this.glowTexturePath = glowTexture;
this.isColored = colorized;
}
public BlockCarvableGlow(Material mat, String glowTexture) {
@@ -39,6 +41,10 @@ public class BlockCarvableGlow extends BlockCarvableColor {
@Override
public int getRenderType() {
return Chisel.renderGlowId;
if(this.isColored){
return Chisel.renderGlowId;
} else {
return Chisel.renderNoColorGlowId;
}
}
}