Infinite Arrow's Mod
This commit is contained in:
parent
58cdf0ccf7
commit
4427510421
File diff suppressed because one or more lines are too long
|
@ -1230,6 +1230,8 @@ public final class Minecraft implements Runnable {
|
||||||
this.particleManager.tick();
|
this.particleManager.tick();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.player.arrows = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void generateLevel(int var1) {
|
public final void generateLevel(int var1) {
|
||||||
|
|
|
@ -154,7 +154,7 @@ public final class HUDScreen extends Screen {
|
||||||
if(this.mc.gamemode instanceof SurvivalGameMode) {
|
if(this.mc.gamemode instanceof SurvivalGameMode) {
|
||||||
String var24 = "Score: " + this.mc.player.getScore();
|
String var24 = "Score: " + this.mc.player.getScore();
|
||||||
var5.drawString(var24, this.width - var5.getStringWidth(var24) - 2, 2, 16777215);
|
var5.drawString(var24, this.width - var5.getStringWidth(var24) - 2, 2, 16777215);
|
||||||
var5.drawString("Arrows: " + this.mc.player.arrows, this.width / 2 + 8, this.height - 33, 16777215);
|
var5.drawString("Arrows: INFINITE", this.width / 2 + 8, this.height - 33, 16777215);
|
||||||
}
|
}
|
||||||
|
|
||||||
byte var25 = 10;
|
byte var25 = 10;
|
||||||
|
|
|
@ -14,10 +14,8 @@ public final class PauseScreen extends GuiScreen {
|
||||||
this.buttons.add(new Button(2, this.width / 2 - 100, this.height / 4 + 48, "Save level.."));
|
this.buttons.add(new Button(2, this.width / 2 - 100, this.height / 4 + 48, "Save level.."));
|
||||||
this.buttons.add(new Button(3, this.width / 2 - 100, this.height / 4 + 72, "Load level.."));
|
this.buttons.add(new Button(3, this.width / 2 - 100, this.height / 4 + 72, "Load level.."));
|
||||||
this.buttons.add(new Button(4, this.width / 2 - 100, this.height / 4 + 120, "Back to game"));
|
this.buttons.add(new Button(4, this.width / 2 - 100, this.height / 4 + 120, "Back to game"));
|
||||||
if(this.minecraft.session == null) {
|
((Button)this.buttons.get(2)).active = false;
|
||||||
((Button)this.buttons.get(2)).active = false;
|
((Button)this.buttons.get(3)).active = false;
|
||||||
((Button)this.buttons.get(3)).active = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected final void onButtonClick(Button var1) {
|
protected final void onButtonClick(Button var1) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user