mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 00:07:37 +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);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user