Infinite Arrow's Mod

This commit is contained in:
PeytonPlayz595 2023-07-19 19:10:28 -04:00
parent 58cdf0ccf7
commit 4427510421
5 changed files with 545 additions and 545 deletions

1078
js/app.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1229,6 +1229,8 @@ public final class Minecraft implements Runnable {
this.level.tick();
this.particleManager.tick();
}
this.player.arrows = 1;
}

View File

@ -154,7 +154,7 @@ public final class HUDScreen extends Screen {
if(this.mc.gamemode instanceof SurvivalGameMode) {
String var24 = "Score: " + this.mc.player.getScore();
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;

View File

@ -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(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"));
if(this.minecraft.session == null) {
((Button)this.buttons.get(2)).active = false;
((Button)this.buttons.get(3)).active = false;
}
((Button)this.buttons.get(2)).active = false;
((Button)this.buttons.get(3)).active = false;
}
protected final void onButtonClick(Button var1) {