Backport Froglights

Backported 3 froglights and added 6 more

Pearlescent, Ochre, Veridium, and the 6 custom ones meant to look like Osmium, Tungstensteel, Iron, Titanium, Aluminium, and Grisium
This commit is contained in:
GirixK authored and Martin Robertz committed 2024-05-13 20:21:05 +02:00
1 parent 772987a4f2
commit 3b8a85a20d
12 files changed
+45

No files matched your search

+31
View File
@@ -4302,8 +4302,39 @@ public enum Features {
boolean needsMetaRecipes() {
return true;
}
},
FROGLIGHT {
@Override
void addBlocks() {
BlockCarvable froglight = (BlockCarvable) new BlockCarvable()
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setLightLevel(1.0F)
.setStepSound(Block.soundTypeStone);
for (int i = 0; i < 9; i++) {
froglight.carverHelper.addVariation("tile.froglight." + i + ".desc", i, "froglight/" + i);
}
froglight.carverHelper.registerAll(froglight, "froglight");
}
@Override
void addRecipes() {
GameRegistry.addRecipe(
new ItemStack(ChiselBlocks.froglight, 8, 0),
"SGS",
"BSB",
"SGS",
'S', new ItemStack(Blocks.stone, 1, 0),
'G', new ItemStack(Items.glowstone_dust, 1),
'B', new ItemStack(Items.slime_ball, 1));
}
};
private static final String[] dyeOres = { "dyeBlack", "dyeRed", "dyeGreen", "dyeBrown", "dyeBlue", "dyePurple",
"dyeCyan", "dyeLightGray", "dyeGray", "dyePink", "dyeLime", "dyeYellow", "dyeLightBlue", "dyeMagenta",
"dyeOrange", "dyeWhite" };