Skip to content

Commit

Permalink
implement sweet berry bush for mc 1.14.x
Browse files Browse the repository at this point in the history
  • Loading branch information
msudol committed Jul 13, 2019
1 parent 5414d32 commit 22e298c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
25 changes: 23 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,27 @@ SUGAR_CANE:
- BEACH
- RIVER
- SWAMPLAND

# Sweet berry bush was added in minecraft 1.14 and pwnplantgrowth v2.5.0
SWEET_BERRY_BUSH:
Growth: 50
GrowthDark: 25
Death: 5
DeathDark: 25
BiomeGroup:
- GreatGrowing
- GoodGrowing
GreatGrowing:
Growth: 100
GrowthDark: 75
Death: 0
DeathDark: 5
GoodGrowing:
Growth: 80
GrowthDark: 55
Death: 5
DeathDark: 10
Biome: []

# This is WHEAT - In this example wheat will grow everywhere at 50% rate, and at better rates in great and good growing groups
WHEAT:
Expand Down Expand Up @@ -339,6 +360,6 @@ RED_MUSHROOM:
- MUSHROOM_ISLAND
- MUSHROOM_SHORE

# Plugin will check for the following list of plants as of ver. 2.4.0
# Plants: "BEETROOTS", "CACTUS", "CARROTS", "COCOA", "CHORUS_FLOWER", "KELP", "MELON", "MELON_STEM", "NETHER_WART", "POTATOS", "PUMPKIN", "PUMPKIN_STEM", "SUGAR_CANE", "WHEAT"
# Plugin will check for the following list of plants as of ver. 2.5.0
# Plants: "BEETROOTS", "CACTUS", "CARROTS", "COCOA", "CHORUS_FLOWER", "KELP", "MELON", "MELON_STEM", "NETHER_WART", "POTATOS", "PUMPKIN", "PUMPKIN_STEM", "SUGAR_CANE", "WHEAT", "SWEET_BERRY_BUSH"
# Trees: "ACACIA_SAPLING", "BIRCH_SAPLING", "DARK_OAK_SAPLING", "JUNGLE_SAPLING", "OAK_SAPLING", "SPRUCE_SAPLING", "RED_MUSHROOM", "BROWN_MUSHROOM"
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
main: com.pwn9.PwnPlantGrowth.PwnPlantGrowth
name: PwnPlantGrowth
version: 2.4.1
version: 2.5.0
author: tremor77
description: Take control over all plant growth
website: http://pwn9.com
Expand Down
2 changes: 1 addition & 1 deletion src/com/pwn9/PwnPlantGrowth/PwnPlantGrowth.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void onEnable()
PwnPlantGrowth.uvFound = " UV found, allowing false light growth.";

// Load all possible plant types
String sArray[] = new String[] { "BEETROOTS", "CACTUS", "CARROTS", "CHORUS_FLOWER", "COCOA", "KELP", "MELON", "MELON_STEM", "NETHER_WART", "POTATOES", "PUMPKIN", "PUMPKIN_STEM", "SUGAR_CANE", "ACACIA_SAPLING", "BIRCH_SAPLING", "DARK_OAK_SAPLING", "JUNGLE_SAPLING", "OAK_SAPLING", "SPRUCE_SAPLING", "RED_MUSHROOM", "BROWN_MUSHROOM" };
String sArray[] = new String[] { "BEETROOTS", "CACTUS", "CARROTS", "CHORUS_FLOWER", "COCOA", "KELP", "MELON", "MELON_STEM", "NETHER_WART", "POTATOES", "PUMPKIN", "PUMPKIN_STEM", "SUGAR_CANE", "SWEET_BERRY_BUSH", "ACACIA_SAPLING", "BIRCH_SAPLING", "DARK_OAK_SAPLING", "JUNGLE_SAPLING", "OAK_SAPLING", "SPRUCE_SAPLING", "RED_MUSHROOM", "BROWN_MUSHROOM" };
PwnPlantGrowth.plantTypes = Arrays.asList(sArray);

// Check for TerrainControl
Expand Down

0 comments on commit 22e298c

Please sign in to comment.