mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-16 18:55:06 +00:00
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:
1 parent
772987a4f2
commit
3b8a85a20d
12 files changed
+45
No files matched your search
@@ -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" };
|
||||
|
||||
Reference in new issue
Block a user