Add 1.7.2 plant materials.

master
Auke Kok 2013-12-02 15:33:38 -08:00
parent 140b77887c
commit 059d75efaa
1 changed files with 7 additions and 0 deletions

View File

@ -142,6 +142,8 @@ public final class Sedimentology extends JavaPlugin {
case PUMPKIN:
case VINE:
case SUGAR_CANE:
case DOUBLE_PLANT:
case LEAVES_2:
case SNOW:
case SNOW_BLOCK:
yy--;
@ -385,6 +387,9 @@ waterloop:
case PUMPKIN:
case VINE:
case SUGAR_CANE:
case DOUBLE_PLANT:
case LEAVES_2:
case LOG_2:
/* distance to vegetation: 3.0 (far) to 0.3 (near) */
double d = (Math.abs(xx - x) + Math.abs(yy - y) + Math.abs(zz -z)) / 3.0;
/* somewhat complex calculation here to make the chance
@ -481,6 +486,8 @@ displace:
case SUGAR_CANE:
case SNOW:
case SNOW_BLOCK:
case DOUBLE_PLANT:
case LEAVES_2:
/* play a sound at the deposition area */
Sound snd;