mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 03:05:10 +00:00
Add Forestry Stained Glass texture
This commit is contained in:
1 parent
08d8ce3fdd
commit
911c3b63b4
19 files changed
+26
No files matched your search
@@ -905,6 +905,10 @@ public enum Features {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
stainedGlassForestry = new BlockCarvableGlass();
|
||||
stainedGlassForestry.setStained(true).setHardness(0.3F).setStepSound(Block.soundTypeGlass).setBlockName("Stained Glass");
|
||||
stainedGlassForestry.carverHelper.registerBlock(stainedGlassForestry, "stained_glass_forestry");
|
||||
|
||||
for (int i = 0; i < 16; i++) {
|
||||
final String blockName = "stained_glass_" + sGNames[i].replaceAll(" ", "").toLowerCase();
|
||||
String oreName = "stainedGlass" + sGNames[i].replaceAll(" ", "");
|
||||
@@ -927,6 +931,10 @@ public enum Features {
|
||||
continue;
|
||||
stainedGlass[glassId].carverHelper.registerVariation(blockName, info);
|
||||
}
|
||||
|
||||
stainedGlassForestry.carverHelper.addVariation(featureColors[i] + ".glass.forestry.desc", i, texName + "forestry");
|
||||
IVariationInfo info = stainedGlassForestry.carverHelper.infoList.get(i);
|
||||
stainedGlassForestry.carverHelper.registerVariation(blockName, info);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -119,6 +119,7 @@ public final class ChiselBlocks {
|
||||
|
||||
// 1.7
|
||||
public static BlockCarvableGlass[] stainedGlass = new BlockCarvableGlass[4];
|
||||
public static BlockCarvableGlass stainedGlassForestry;
|
||||
public static BlockCarvablePane[] stainedGlassPane = new BlockCarvablePane[8];
|
||||
|
||||
// 1.8 or at least so you think :P
|
||||
|
||||
Reference in new issue
Block a user