Made pixies spawn in the Mystic Grove. Added ichor (Soon to be dropped by imps)

This commit is contained in:
Matt Caughey 2014-02-02 14:32:34 -05:00
parent 28196bc02f
commit bb47c64501
7 changed files with 42 additions and 30 deletions

View file

@ -29,8 +29,8 @@ public class BiomeGenThicket extends BOPBiome
this.theBiomeDecorator.grassPerChunk = 1;
this.bopWorldFeatures.bopFlowersPerChunk = 5;
this.bopWorldFeatures.thornsPerChunk = 25;
this.bopWorldFeatures.shrubsPerChunk = 15;
this.bopWorldFeatures.thornsPerChunk = 55;
this.bopWorldFeatures.shrubsPerChunk = 5;
}
@Override
@ -55,4 +55,18 @@ public class BiomeGenThicket extends BOPBiome
{
return random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.tallgrass, 1) : new WorldGenTallGrass(BOPBlockHelper.get("foliage"), 10);
}
@Override
//TODO: getBiomeGrassColor()
public int func_150558_b(int p_150558_1_, int p_150558_2_, int p_150558_3_)
{
return 11049591;
}
@Override
//TODO: getBiomeFoliageColor()
public int func_150571_c(int x, int y, int z)
{
return 10854765;
}
}

View file

@ -166,7 +166,7 @@ public class BOPBiomes
registerBiome(new BOPBiomeEntry(new BiomeGenSludgepit(BOPConfigurationIDs.sludgepitID).setBiomeName("Sludgepit"), TemperatureType.WARM, 50));
registerBiome(new BOPBiomeEntry(new BiomeGenSpruceWoods(BOPConfigurationIDs.spruceWoodsID).setBiomeName("Spruce Woods"), TemperatureType.WARM, 50));
registerBiome(new BOPBiomeEntry(new BiomeGenTemperateRainforest(BOPConfigurationIDs.temperateRainforestID).setBiomeName("Temperate Rainforest"), TemperatureType.WARM, 50));
registerBiome(new BOPBiomeEntry(new BiomeGenThicket(BOPConfigurationIDs.thicketID).setBiomeName("Thicket"), TemperatureType.WARM, 50));
registerBiome(new BOPBiomeEntry(new BiomeGenThicket(BOPConfigurationIDs.thicketID).setBiomeName("Thicket"), TemperatureType.COOL, 50));
registerBiome(new BOPBiomeEntry(new BiomeGenTimber(BOPConfigurationIDs.timberID).setBiomeName("Timber"), TemperatureType.COOL, 50));
registerBiome(new BOPBiomeEntry(new BiomeGenTropicalRainforest(BOPConfigurationIDs.tropicalRainforestID).setBiomeName("Tropical Rainforest"), TemperatureType.HOT, 25));
registerBiome(new BOPBiomeEntry(new BiomeGenTropics(BOPConfigurationIDs.tropicsID).setBiomeName("Tropics"), TemperatureType.HOT, 25));

View file

@ -37,30 +37,30 @@ public class BOPCrafting
private static void addCraftingRecipes()
{
//Plants
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 6), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,1)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 13), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,7)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 14), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,5)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 9), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,6)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 7), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,15)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 12), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,4)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 5), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,8)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 10), new Object[] {new ItemStack(BOPBlockHelper.get("mushrooms"),1,3)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 8), new Object[] {new ItemStack(BOPItemHelper.get("misc"), 1, 1)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 12), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,7)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 6), new Object[] {new ItemStack(BOPBlockHelper.get("mushrooms"),1,4)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 6), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,1)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 13), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,7)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 14), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,5)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 9), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,6)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 7), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,15)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 12), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,4)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 5), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,8)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 10), new Object[] {new ItemStack(BOPBlockHelper.get("mushrooms"),1,3)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 8), new Object[] {new ItemStack(BOPItemHelper.get("misc"), 1, 1)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 12), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,7)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 6), new Object[] {new ItemStack(BOPBlockHelper.get("mushrooms"),1,4)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 9), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,0)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 8), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,1)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 14), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,2)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 5), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,3)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 11), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,4)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 5), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,5)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 9), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,0)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 8), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,1)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 14), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,2)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 5), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,3)});
GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 1, 11), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,4)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 5), new Object[] {new ItemStack(BOPBlockHelper.get("flowers2"),1,5)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 5), new Object[] {new ItemStack(BOPBlockHelper.get("mushrooms"),1,2)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 6), new Object[] {new ItemStack(BOPBlockHelper.get("plants"),1,7)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 7), new Object[] {new ItemStack(BOPBlockHelper.get("moss"),1,0)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 8), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,9)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 2, 9), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,2)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 5), new Object[] {new ItemStack(BOPBlockHelper.get("mushrooms"),1,2)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 6), new Object[] {new ItemStack(BOPBlockHelper.get("plants"),1,7)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 7), new Object[] {new ItemStack(BOPBlockHelper.get("moss"),1,0)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 8), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,9)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("misc"), 1, 9), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,2)});
GameRegistry.addShapelessRecipe(new ItemStack(BOPItemHelper.get("food"), 4, 3), new Object[] {new ItemStack(BOPBlockHelper.get("flowers"),1,13)});
//Brick stairs and slabs

View file

@ -100,10 +100,7 @@ public class BOPEntities
registerEntityEgg(EntityPixie.class, 16742365, 16645116);
/*TODO: FEATURE if (Biomes.promisedLandForest.isPresent() && Biomes.promisedLandSwamp.isPresent() && Biomes.promisedLandPlains.isPresent() && Biomes.promisedLandShrub.isPresent())
{
EntityRegistry.addSpawn(EntityPixie.class, 4, 1, 3, EnumCreatureType.monster, Biomes.promisedLandForest.get(), Biomes.promisedLandSwamp.get(), Biomes.promisedLandPlains.get(), Biomes.promisedLandShrub.get());
}*/
EntityRegistry.addSpawn(EntityPixie.class, 8, 1, 3, EnumCreatureType.ambient, BOPBiomeHelper.get("mysticGrove"));
}
}

View file

@ -13,7 +13,7 @@ import cpw.mods.fml.relauncher.SideOnly;
public class ItemBOPMisc extends Item
{
private static String[] items = {"mudbrick", "ash", "emptyhoneycomb", "fleshchunk", "crystalshard", "bluedye", "browndye", "greendye", "whitedye", "blackdye", "ghastlysoul", "pixiedust"};
private static String[] items = {"mudbrick", "ash", "emptyhoneycomb", "fleshchunk", "crystalshard", "bluedye", "browndye", "greendye", "whitedye", "blackdye", "ghastlysoul", "pixiedust", "ichor"};
@SideOnly(Side.CLIENT)
private IIcon[] textures;

View file

@ -323,6 +323,7 @@ item.misc.whitedye.name=White Dye
item.misc.blackdye.name=Black Dye
item.misc.ghastlysoul.name=Ghastly Soul
item.misc.pixiedust.name=Pixie Dust
item.misc.ichor.name=Ichor
item.jarEmpty.name=Empty Jar
item.jarFilled.jarhoney.name=Honey Jar

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B