Skip to content

Commit

Permalink
herpaderp, was using waterPlantsPerChunk instead of lilyPadPerChunk f…
Browse files Browse the repository at this point in the history
…or worldgen
  • Loading branch information
Konlii committed Feb 27, 2019
1 parent 98678e0 commit 2573be8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Expand Up @@ -102,7 +102,7 @@ public void decorate(final World world, final Random rng, final Biome biome, fin

if (plant.getPlantType() == Plant.PlantType.LILYPAD)
{
for (int i = 0; i < waterPlantsPerChunk * floraDensity; i++)
for (int i = 0; i < lilyPadPerChunk * floraDensity; i++)
{
final BlockPos p2 = world.getPrecipitationHeight(chunkPos.add(rng.nextInt(16) + 8, 0, rng.nextInt(16) + 8));
if (ClimateTFC.getHeightAdjustedBiomeTemp(world, p2) >= 7)
Expand Down
24 changes: 12 additions & 12 deletions src/main/resources/assets/tfc/blockstates/plants/lilypad.json
Expand Up @@ -121,20 +121,20 @@
{ "model": "tfc:lilypad", "y": 270, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_2_purple" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 270, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_2_white" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 270, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_2_yellow" }, "weight": 1 },
{ "model": "tfc:lilypad", "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 90, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 180, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 270, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 }
{ "model": "tfc:lilypad", "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 2 },
{ "model": "tfc:lilypad", "y": 90, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 2 },
{ "model": "tfc:lilypad", "y": 180, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 2 },
{ "model": "tfc:lilypad", "y": 270, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 2 }
],
"stage=7": [
{ "model": "tfc:lilypad", "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" }, "weight": 3 },
{ "model": "tfc:lilypad", "y": 90, "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" }, "weight": 3 },
{ "model": "tfc:lilypad", "y": 180, "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" }, "weight": 3 },
{ "model": "tfc:lilypad", "y": 270, "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" }, "weight": 3 },
{ "model": "tfc:lilypad", "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 90, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 180, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 },
{ "model": "tfc:lilypad", "y": 270, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" }, "weight": 1 }
{ "model": "tfc:lilypad", "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" } },
{ "model": "tfc:lilypad", "y": 90, "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" } },
{ "model": "tfc:lilypad", "y": 180, "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" } },
{ "model": "tfc:lilypad", "y": 270, "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" } },
{ "model": "tfc:lilypad", "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" } },
{ "model": "tfc:lilypad", "y": 90, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" } },
{ "model": "tfc:lilypad", "y": 180, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" } },
{ "model": "tfc:lilypad", "y": 270, "textures": { "flower" : "tfc:blocks/plants/lilypad/lilypad_0" } }
],
"stage=8": [
{ "model": "tfc:lilypad", "textures": { "layer0": "tfc:blocks/empty", "flower" : "tfc:blocks/empty" }, "weight": 3 },
Expand Down

0 comments on commit 2573be8

Please sign in to comment.