Added Thaumcraft compat

This commit is contained in:
JohnButlerThird committed 2025-06-30 17:21:40 -04:00
1 parent 0850d9a1a9
commit 33a55876a4
54 files changed
+90

No files matched your search

+51
View File
@@ -9,6 +9,7 @@ import static team.chisel.init.ChiselBlocks.neonite;
import static team.chisel.init.ChiselBlocks.nucrete;
import static team.chisel.init.ChiselBlocks.planks;
import static team.chisel.init.ChiselBlocks.planks_bop;
import static team.chisel.init.ChiselBlocks.planks_tc;
import static team.chisel.init.ChiselBlocks.pumpkin;
import static team.chisel.init.ChiselBlocks.stainedGlass;
import static team.chisel.init.ChiselBlocks.stainedGlassForestry;
@@ -4311,6 +4312,56 @@ public enum Features {
}
},
WOOD_THAUMCRAFT("Thaumcraft") {
@Override
void addBlocks() {
String[] plank_names = { "greatwood", "silverwood" };
for (int i = 0; i < plank_names.length; i++) {
String n = plank_names[i];
final String name = n.replace('-', '_') + "_planks";
planks_tc[i] = (BlockCarvable) (new BlockCarvable(Material.wood))
.setCreativeTab(ChiselTabs.tabWoodChiselBlocks)
.setHardness(2.0F)
.setResistance(5.0F)
.setStepSound(Block.soundTypeWood);
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.1.desc", 1, "planks-" + n + "/clean");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.2.desc", 2, "planks-" + n + "/short");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.6.desc", 6, "planks-" + n + "/fancy");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.8.desc", 8, "planks-" + n + "/panel-nails");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.9.desc", 9, "planks-" + n + "/double");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.10.desc", 10, "planks-" + n + "/crate");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.11.desc", 11, "planks-" + n + "/crate-fancy");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.13.desc", 13, "planks-" + n + "/large");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.3.desc", 3, "planks-" + n + "/vertical");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.4.desc", 4, "planks-" + n + "/vertical-uneven");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.5.desc", 5, "planks-" + n + "/parquet");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.7.desc", 7, "planks-" + n + "/blinds");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.12.desc", 12, "planks-" + n + "/crateex");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.14.desc", 14, "planks-" + n + "/chaotic-hor");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.15.desc", 15, "planks-" + n + "/chaotic");
planks_tc[i].carverHelper.registerAll(planks_tc[i], name);
if(GameRegistry.findBlock("salisarcana", "blockCustomPlank") != null) {
Carving.chisel.addVariation(name, GameRegistry.findBlock("salisarcana", "blockCustomPlank"), i, 0);
} else {
Carving.chisel.addVariation(name, GameRegistry.findBlock("Thaumcraft", "blockWoodenDevice"), i + 6, 0);
}
planks_tc[i].setHarvestLevel("axe", 0);
Carving.chisel.registerOre(name, "wood");
Carving.chisel.setVariationSound(name, Chisel.MOD_ID + ":chisel.wood");
Blocks.fire.setFireInfo(planks_tc[i], 5, 20);
}
}
},
WOOLEN_CLAY {
@Override
@@ -151,6 +151,7 @@ public final class ChiselBlocks {
public static BlockCarvable[] planks = new BlockCarvable[6];
public static BlockCarvable[] planks_bop = new BlockCarvable[14];
public static BlockCarvable[] planks_tc = new BlockCarvable[2];
public static BlockCarvablePumpkin[] pumpkin = new BlockCarvablePumpkin[16];
public static BlockCarvablePumpkin[] jackolantern = new BlockCarvablePumpkin[16];
@@ -1106,6 +1106,10 @@ tile.chisel.hellbark_planks.name=Hellbark Wood Planks
tile.chisel.jacaranda_planks.name=Jacaranda Wood Planks
tile.chisel.mahogany_planks.name=Mahogany Wood Planks
#Thaumcraft Wood
tile.chisel.greatwood_planks.name=Greatwood Wood Planks
tile.chisel.silverwood_planks.name=Silverwood Wood Planks
#Iron Fence
tile.chisel.iron_bars.name=Iron Bars
tile.iron_bars.1.desc=Iron Bars without Frame
@@ -1775,6 +1779,40 @@ tile.mahogany.planks.12.desc=Mahogany Wood Scaffold
tile.mahogany.planks.14.desc=Mahogany Wood Planks in Disarray
tile.mahogany.planks.15.desc=Vertical Mahogany Wood Planks in Disarray
#Greatwood
tile.greatwood.planks.1.desc=Smooth Greatwood Wood Planks
tile.greatwood.planks.2.desc=Short Greatwood Wood Planks
tile.greatwood.planks.6.desc=Fancy Greatwood Wood Plank Arrangement
tile.greatwood.planks.8.desc=Greatwood Wood Panel
tile.greatwood.planks.9.desc=Greatwood Wood Double Slab
tile.greatwood.planks.10.desc=Greatwood Wood Crate
tile.greatwood.planks.11.desc=Fancy Greatwood Wood Crate
tile.greatwood.planks.13.desc=Large Long Greatwood Wood Planks
tile.greatwood.planks.3.desc=Vertical Greatwood Wood Planks
tile.greatwood.planks.4.desc=Vertical Uneven Greatwood Wood Planks
tile.greatwood.planks.5.desc=Greatwood Wood Parquet
tile.greatwood.planks.7.desc=Greatwood Wood Plank Blinds
tile.greatwood.planks.12.desc=Greatwood Wood Scaffold
tile.greatwood.planks.14.desc=Greatwood Wood Planks in Disarray
tile.greatwood.planks.15.desc=Vertical Greatwood Wood Planks in Disarray
#Silverwood
tile.silverwood.planks.1.desc=Smooth Silverwood Wood Planks
tile.silverwood.planks.2.desc=Short Silverwood Wood Planks
tile.silverwood.planks.6.desc=Fancy Silverwood Wood Plank Arrangement
tile.silverwood.planks.8.desc=Silverwood Wood Panel
tile.silverwood.planks.9.desc=Silverwood Wood Double Slab
tile.silverwood.planks.10.desc=Silverwood Wood Crate
tile.silverwood.planks.11.desc=Fancy Silverwood Wood Crate
tile.silverwood.planks.13.desc=Large Long Silverwood Wood Planks
tile.silverwood.planks.3.desc=Vertical Silverwood Wood Planks
tile.silverwood.planks.4.desc=Vertical Uneven Silverwood Wood Planks
tile.silverwood.planks.5.desc=Silverwood Wood Parquet
tile.silverwood.planks.7.desc=Silverwood Wood Plank Blinds
tile.silverwood.planks.12.desc=Silverwood Wood Scaffold
tile.silverwood.planks.14.desc=Silverwood Wood Planks in Disarray
tile.silverwood.planks.15.desc=Vertical Silverwood Wood Planks in Disarray
#Stained Glass
white.bubble.desc=White Bubble Glass
white.glass.desc=White Glass Panel
Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 463 B

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 580 B

After

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

After

Width:  |  Height:  |  Size: 555 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 B

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 B

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 507 B

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 500 B

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 B

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 B

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B