60 |
case 17: |
case 17: |
61 |
return null; //instabreak drops wood |
return null; //instabreak drops wood |
62 |
case 18: |
case 18: |
63 |
return (rand.nextInt(16) == 0) ? new ItemStack(6,1,(short)0, (byte)rand.nextInt(4) ) : null; //leaves has 6.25% chance of dropping sapplings - the sappling type is randomized |
return (rand.nextInt(16) == 0) ? new ItemStack(6,1,(short)0, b.getData() ) : null; //leaves has 6.25% chance of dropping sapplings |
64 |
case 21: //lapis lazuli |
case 21: //lapis lazuli |
65 |
int count = rand.nextInt(5) + 4; |
int count = rand.nextInt(5) + 4; |
66 |
return new ItemStack(351,count,(short)0, (byte)4); |
return new ItemStack(351,count,(short)0, (byte)4); |
87 |
|
|
88 |
if (b.getTypeId() == 7) //don't remove bedrock |
if (b.getTypeId() == 7) //don't remove bedrock |
89 |
return; |
return; |
90 |
|
if (b.getTypeId() == 90) //don't break portal |
91 |
|
return; |
92 |
|
|
93 |
event.setInstaBreak(true); |
event.setInstaBreak(true); |
94 |
|
|