mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Some more Dandelifeon tweaks.
This commit is contained in:
1 parent
6ae5f709ea
commit
51a82ccf37
3 files changed
+4
-6
No files matched your search
+2
-2
@@ -29,7 +29,7 @@ public class SubTileDandelifeon extends SubTileGenerating {
|
||||
private static final int RANGE = 12;
|
||||
private static final int SPEED = 10;
|
||||
private static final int MAX_GENERATIONS = 60;
|
||||
private static final int MANA_PER_GEN = 50;
|
||||
private static final int MANA_PER_GEN = 35;
|
||||
|
||||
private static final int[][] ADJACENT_BLOCKS = new int[][] {
|
||||
{ -1, -1 },
|
||||
@@ -71,7 +71,7 @@ public class SubTileDandelifeon extends SubTileGenerating {
|
||||
|
||||
int xdist = Math.abs(i - RANGE);
|
||||
int zdist = Math.abs(j - RANGE);
|
||||
int allowDist = newVal == 1 ? 2 : 1;
|
||||
int allowDist = (newVal == 1 && gen == 0) ? 2 : 1;
|
||||
if(xdist <= allowDist && zdist <= allowDist && newVal > -1) {
|
||||
gen = newVal;
|
||||
newVal = gen == 1 ? -1 : -2;
|
||||
|
||||
@@ -1984,9 +1984,7 @@ public final class ModCraftingRecipes {
|
||||
recipesPavement = BotaniaAPI.getLatestAddedRecipes(4);
|
||||
|
||||
// Cellular Block Recipe
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.cellBlock, 3),
|
||||
"CC", "CC",
|
||||
'C', new ItemStack(Blocks.cactus));
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(ModBlocks.cellBlock, 3), new ItemStack(Blocks.cactus), new ItemStack(Blocks.cactus), new ItemStack(Blocks.cactus), new ItemStack(Blocks.cactus), new ItemStack(Items.carrot), new ItemStack(Items.potato));
|
||||
recipeCellBlock = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user