Updated to use mc-dev rename revision 1

This commit is contained in:
Nathan Adams
2011-11-29 23:17:43 +00:00
parent 8665161eaa
commit 8fbe78a2c3
117 changed files with 907 additions and 1161 deletions

View File

@@ -4,7 +4,7 @@ import java.util.Random;
import org.bukkit.event.block.LeavesDecayEvent; // CraftBukkit
public class BlockLeaves extends BlockLeavesBase {
public class BlockLeaves extends BlockTransparant {
private int c;
int[] a;
@@ -134,7 +134,7 @@ public class BlockLeaves extends BlockLeavesBase {
return random.nextInt(20) == 0 ? 1 : 0;
}
public int a(int i, Random random, int j) {
public int getDropType(int i, Random random, int j) {
return Block.SAPLING.id;
}
@@ -147,7 +147,7 @@ public class BlockLeaves extends BlockLeavesBase {
}
}
protected int c(int i) {
protected int getDropData(int i) {
return i & 3;
}