master
parent
c4d9544f88
commit
927e4960c4
|
@ -408,11 +408,18 @@ public class Minecraft implements Runnable, LevelLoaderListener
|
||||||
if (Keyboard.getEventKey() == 8) {
|
if (Keyboard.getEventKey() == 8) {
|
||||||
this.paintTexture = 12; //white cloth
|
this.paintTexture = 12; //white cloth
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Keyboard.getEventKey() == Keyboard.KEY_PERIOD) {
|
if (Keyboard.getEventKey() == Keyboard.KEY_PERIOD) {
|
||||||
|
if (paintTexture > 1 || paintTexture < 12) {
|
||||||
this.paintTexture += 1;
|
this.paintTexture += 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Keyboard.getEventKey() == Keyboard.KEY_COMMA) {
|
if (Keyboard.getEventKey() == Keyboard.KEY_COMMA) {
|
||||||
this.paintTexture -= 1;
|
this.paintTexture -= 1;
|
||||||
|
if (paintTexture = 1) {
|
||||||
|
this.paintTexture = 12;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (Keyboard.getEventKey() == 21) {
|
if (Keyboard.getEventKey() == 21) {
|
||||||
this.yMouseAxis *= -1;
|
this.yMouseAxis *= -1;
|
||||||
|
|
Loading…
Reference in New Issue