raise block limit
parent
b64ebb856e
commit
7e8f83c9f0
|
@ -347,27 +347,9 @@ public class Minecraft implements Runnable, LevelLoaderListener {
|
|||
if (Keyboard.getEventKey() == 19) {
|
||||
this.player.resetPos();
|
||||
}
|
||||
// if (Keyboard.getEventKey() == 2) {
|
||||
// this.paintTexture = 1; //rock (stone)
|
||||
// }
|
||||
// if (Keyboard.getEventKey() == 3) {
|
||||
// this.paintTexture = 3; //dirt
|
||||
// }
|
||||
// if (Keyboard.getEventKey() == 4) {
|
||||
// this.paintTexture = 4; //stoneBricks
|
||||
// }
|
||||
// if (Keyboard.getEventKey() == 5) {
|
||||
// this.paintTexture = 5; //wood
|
||||
// }
|
||||
// if (Keyboard.getEventKey() == 7) {
|
||||
// this.paintTexture = 6; //non-functional bush
|
||||
// }
|
||||
// if (Keyboard.getEventKey() == 8) {
|
||||
// this.paintTexture = 12; //white cloth
|
||||
// }
|
||||
|
||||
if (Keyboard.getEventKey() == Keyboard.KEY_PERIOD) {
|
||||
if (this.paintTexture != 35) // prevents game from
|
||||
if (this.paintTexture != 36) // prevents game from
|
||||
// crashing if user goes
|
||||
// above the last
|
||||
// available block.
|
||||
|
|
|
@ -104,7 +104,7 @@ public class Tile
|
|||
Diamond = new DiamondBlock(33);
|
||||
Iron = new IronBlock(34);
|
||||
CoalOre = new CoalOre(35);
|
||||
DropDaBomb = new YvanEhtNioj(35); //testing block
|
||||
DropDaBomb = new YvanEhtNioj(36); //testing block
|
||||
}
|
||||
|
||||
protected Tile(final int id) {
|
||||
|
|
Loading…
Reference in New Issue