mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 10:17:39 +00:00
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:
parent
9d476963ae
commit
75660547d9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user