fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count

This commit is contained in:
Jacob Scott 2011-07-15 01:59:30 -05:00
parent 9d476963ae
commit 75660547d9

View File

@ -225,10 +225,10 @@ public abstract class LocalWorld {
else if (type == 10) { } // Lava else if (type == 10) { } // Lava
else if (type == 11) { } // Lava else if (type == 11) { } // Lava
else if (type == 13) { // Gravel else if (type == 13) { // Gravel
dropItem(pt, new BaseItemStack(type));
if (random.nextDouble() >= 0.9) { if (random.nextDouble() >= 0.9) {
dropItem(pt, new BaseItemStack(318)); dropItem(pt, new BaseItemStack(318));
}else{
dropItem(pt, new BaseItemStack(type));
} }
} }
else if (type == 16) { dropItem(pt, new BaseItemStack(263)); } // Coal ore else if (type == 16) { dropItem(pt, new BaseItemStack(263)); } // Coal ore
@ -239,7 +239,7 @@ public abstract class LocalWorld {
} }
} }
else if (type == 20) { } // Glass else if (type == 20) { } // Glass
else if (type == 21) { dropItem(pt, new BaseItemStack(351, 1, (short)4), (random.nextInt(5)+4)); } else if (type == 21) { dropItem(pt, new BaseItemStack(351, 1, (short)4), (random.nextInt(5)+4)); } // Lapis Lazuli ore
else if (type == 26) { dropItem(pt, new BaseItemStack(355)); } // Bed else if (type == 26) { dropItem(pt, new BaseItemStack(355)); } // Bed
else if (type == 35) { dropItem(pt, new BaseItemStack(35, 1, (short)getBlockData(pt))); } // Cloth else if (type == 35) { dropItem(pt, new BaseItemStack(35, 1, (short)getBlockData(pt))); } // Cloth
else if (type == 43) { // Double step else if (type == 43) { // Double step
@ -267,7 +267,7 @@ public abstract class LocalWorld {
else if (type == 79) { } // Ice else if (type == 79) { } // Ice
else if (type == 82) { dropItem(pt, new BaseItemStack(337), 4); } // Clay else if (type == 82) { dropItem(pt, new BaseItemStack(337), 4); } // Clay
else if (type == 83) { dropItem(pt, new BaseItemStack(338)); } // Reed else if (type == 83) { dropItem(pt, new BaseItemStack(338)); } // Reed
else if (type == 89) { dropItem(pt, new BaseItemStack(348)); } // Lightstone else if (type == 89) { dropItem(pt, new BaseItemStack(348), (random.nextInt(3)+2)); } // Lightstone
else if (type == 90) { } // Portal else if (type == 90) { } // Portal
else if (type == 93) { dropItem(pt, new BaseItemStack(356)); } // Repeater else if (type == 93) { dropItem(pt, new BaseItemStack(356)); } // Repeater
else if (type == 94) { dropItem(pt, new BaseItemStack(356)); } // Repeater else if (type == 94) { dropItem(pt, new BaseItemStack(356)); } // Repeater