Merge branch 'master' into cursed-voidstone-rendering

This commit is contained in:
Martin Robertz authored and GitHub committed 2025-12-09 09:59:18 +01:00
commit 2b0a231c9a
43 files changed
+115 -5

No files matched your search

+81 -4
View File
@@ -1647,7 +1647,7 @@ public enum Features {
.setCreativeTab(ChiselTabs.tabStoneChiselBlocks)
.setStepSound(Block.soundTypeStone)
.setHardness(1.5F);
Carving.chisel.addVariation("hardenedClay", Blocks.hardened_clay, 0, 0);
Carving.chisel.addVariation("hardened_clay", Blocks.hardened_clay, 0, 0);
hardenedClay.carverHelper.addVariation("tile.hardened_clay.0.desc", 0, "hardenedclay/braid");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.1.desc", 1, "hardenedclay/bricks-cracked");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.2.desc", 2, "hardenedclay/bricks-encased");
@@ -1681,7 +1681,7 @@ public enum Features {
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.24.desc", 8, "hardenedclay/twisted");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.25.desc", 9, "hardenedclay/weaver");
hardenedClay2.carverHelper.registerBlock(hardenedClay2, "hardened_clay2");
hardenedClay2.carverHelper.registerVariations("hardenedClay");
hardenedClay2.carverHelper.registerVariations("hardened_clay");
}
},
@@ -1701,7 +1701,7 @@ public enum Features {
String oreName = "hardenedClay" + sGNames[i].replaceAll(" ", "");
String texName = "hardenedclay/" + sGNames[i].toLowerCase()
.replaceAll(" ", "") + "/";
Carving.chisel.addVariation(groupName, Blocks.stained_hardened_clay, i, 0);
Carving.chisel.addVariation(blockName, Blocks.stained_hardened_clay, i, 0);
hardenedClay.carverHelper.addVariation("tile." + blockName + ".0.desc", 0, texName + "braid");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".1.desc", 1, texName + "bricks-cracked");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".2.desc", 2, texName + "bricks-encased");
@@ -1735,7 +1735,7 @@ public enum Features {
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".24.desc", 8, texName + "twisted");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".25.desc", 9, texName + "weaver");
hardenedClay2.carverHelper.registerBlock(hardenedClay2, blockName + "2");
hardenedClay2.carverHelper.registerVariations(groupName);
hardenedClay2.carverHelper.registerVariations(blockName);
}
}
},
@@ -2050,6 +2050,7 @@ public enum Features {
}
Carving.chisel.addVariation("iron_block", Blocks.iron_block, 0, 0);
iron_block.carverHelper.addVariation("tile.iron.0.desc", 0, "iron/terrain-iron-rusted");
iron_block.carverHelper.addVariation("tile.iron.1.desc", 1, "iron/terrain-iron-largeingot");
iron_block.carverHelper.addVariation("tile.iron.2.desc", 2, "iron/terrain-iron-smallingot");
iron_block.carverHelper.addVariation("tile.iron.3.desc", 3, "iron/terrain-iron-gears");
@@ -3810,6 +3811,12 @@ public enum Features {
7,
"technical/new/concrete/concreteBlocks",
new SubmapManagerCombinedCTM(9, "technical/new/concrete/concreteBlocks", TextureType.R9));
technical4.carverHelper.addVariation("tile.technical4.8.desc", 8, "technical/new/cinderblock", 42);
technical4.carverHelper.addVariation("tile.technical4.9.desc", 9, "technical/new/polishedcinderblock", 43);
technical4.carverHelper.addVariation("tile.technical4.10.desc", 10, "technical/new/cinderbrick", 44);
technical4.carverHelper.addVariation("tile.technical4.11.desc", 11, "technical/new/cardboardbox", 45);
technical4.carverHelper.addVariation("tile.technical4.12.desc", 12, "technical/new/foldedcardboard", 46);
technical4.carverHelper.addVariation("tile.technical4.13.desc", 13, "technical/new/cardboardscrap", 47);
// The animation is malfunctioning. :(
// technical4.carverHelper.addVariation("tile.technical4.7.desc", 7, "technical/new/TapeDrive");
technical4.carverHelper.registerBlock(technical4, "technical4");
@@ -4536,6 +4543,76 @@ public enum Features {
'B',
new ItemStack(Items.slime_ball, 1));
}
},
LANTERN {
@Override
void addBlocks() {
BlockCarvable lantern = (BlockCarvable) new BlockCarvable().setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setLightLevel(1.0F)
.setStepSound(Block.soundTypeGlass);
lantern.carverHelper.addVariation("tile.lantern.0.desc", 0, "lantern/lantern");
lantern.carverHelper.addVariation("tile.lantern.1.desc", 1, "lantern/glowlantern");
lantern.carverHelper.addVariation("tile.lantern.2.desc", 2, "lantern/redlantern");
lantern.carverHelper.addVariation("tile.lantern.3.desc", 3, "lantern/soullantern");
lantern.carverHelper.addVariation("tile.lantern.4.desc", 4, "lantern/cursedlantern");
lantern.carverHelper.addVariation("tile.lantern.5.desc", 5, "lantern/endlantern");
lantern.carverHelper.registerAll(lantern, "lantern");
}
@Override
void addRecipes() {
GameRegistry.addRecipe(
new ItemStack(ChiselBlocks.lantern, 1, 0),
"gig",
"iGi",
"gig",
'i',
new ItemStack(Items.iron_ingot, 1, 0),
'G',
new ItemStack(Blocks.glowstone, 1),
'g',
new ItemStack(Items.glowstone_dust, 1));
}
},
SHEETMETAL {
@Override
void addBlocks() {
BlockCarvable sheetmetal = (BlockCarvable) new BlockCarvable()
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setStepSound(Block.soundTypeMetal);
sheetmetal.carverHelper.addVariation("tile.sheetmetal.0.desc", 0, "sheetmetal/walling");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.1.desc", 1, "sheetmetal/siding");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.2.desc", 2, "sheetmetal/paneling");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.3.desc", 3, "sheetmetal/plating");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.4.desc", 4, "sheetmetal/treading");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.5.desc", 5, "sheetmetal/rustywalling");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.6.desc", 6, "sheetmetal/rustysiding");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.7.desc", 7, "sheetmetal/rustypaneling");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.8.desc", 8, "sheetmetal/rustyplating");
sheetmetal.carverHelper.addVariation("tile.sheetmetal.9.desc", 9, "sheetmetal/rustytreading");
sheetmetal.carverHelper.registerAll(sheetmetal, "sheetmetal");
}
@Override
void addRecipes() {
GameRegistry.addRecipe(
new ItemStack(ChiselBlocks.sheetmetal, 32, 0),
"iii",
" ",
"iii",
'i',
new ItemStack(Items.iron_ingot, 1, 0));
}
};
private static final String[] dyeOres = { "dyeBlack", "dyeRed", "dyeGreen", "dyeBrown", "dyeBlue", "dyePurple",
@@ -40,7 +40,7 @@ public class BlockCarvableStairs extends BlockStairs implements ICarvable {
@Override
public int damageDropped(int i) {
return i / 8;
return i & 0x8;
}
@Override
@@ -173,5 +173,9 @@ public final class ChiselBlocks {
// 1.19, skipped 10 versions but thats fine
public static final BlockCarvable froglight = null;
// Backports from Dustrial Decor. Original artists are WDSPC and Evo_94!
public static final BlockCarvable lantern = null;
public static final BlockCarvable sheetmetal = null;
private ChiselBlocks() {}
}
@@ -881,6 +881,12 @@ tile.technical4.4.desc=Thermal Exhaust Plating
tile.technical4.5.desc=Makeshift Plating
tile.technical4.6.desc=Pipe Dream
tile.technical4.7.desc=Worn Concrete
tile.technical4.8.desc=Cinder Block
tile.technical4.9.desc=Cinder Block (Polished)
tile.technical4.10.desc=Cinder Brick
tile.technical4.11.desc=Cardboard Box
tile.technical4.12.desc=Folded Cardboard
tile.technical4.13.desc=Cardboard Scrap
tile.technical4.16.desc=Tape Drive? (I'm too young for this.)
#End Stone
@@ -1297,6 +1303,7 @@ tile.roadLine.4.desc=Hazard Tape
#Iron Blocks
tile.chisel.iron_block.name=Iron Block
tile.iron.0.desc=Rusted Block
tile.iron.1.desc=Large Iron Ingots
tile.iron.2.desc=Small Iron Ingots
tile.iron.3.desc=Iron Gears
@@ -2698,5 +2705,27 @@ tile.froglight.7.desc=Orundum
tile.froglight.8.desc=Blood-Stained
tile.froglight.9.desc=Ichor
#Lanterns
tile.chisel.lantern.name=Lantern
tile.lantern.0.desc=Simple
tile.lantern.1.desc=Glow
tile.lantern.2.desc=Redstone
tile.lantern.3.desc=Soul
tile.lantern.4.desc=Cursed
tile.lantern.5.desc=Ender
#Sheetmetal
tile.chisel.sheetmetal.name=Sheetmetal
tile.sheetmetal.0.desc=Walling
tile.sheetmetal.1.desc=Siding
tile.sheetmetal.2.desc=Paneling
tile.sheetmetal.3.desc=Plating
tile.sheetmetal.4.desc=Treading
tile.sheetmetal.5.desc=Walling (Rusty)
tile.sheetmetal.6.desc=Siding (Rusty)
tile.sheetmetal.7.desc=Paneling (Rusty)
tile.sheetmetal.8.desc=Plating (Rusty)
tile.sheetmetal.9.desc=Treading (Rusty)
tile.chisel.amber.name=Block of Amber
tile.chisel.bloodBrick.name=Bloodstone Brick
Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B