added color jump #12

Merged
jannis merged 5 commits from develop-colorjump into develop 2026-02-10 20:24:18 +00:00
Collaborator
No description provided.
jannis added 3 commits 2026-02-10 18:18:07 +00:00
jannis added 1 commit 2026-02-10 18:23:13 +00:00
Pupsi reviewed 2026-02-10 20:07:39 +00:00
@@ -0,0 +70,4 @@
this.destroyAllExcept(this.currentBlock);
scheduler.scheduleTask(() -> {
this.onStart();
Collaborator

this.nextRound()

this.nextRound()
jannis marked this conversation as resolved
@@ -0,0 +76,4 @@
return stop;
}, TaskSchedule.seconds((long) this.roundTime));
if(this.roundTime > 0.5)
this.roundTime = this.roundTime *0.9;
Collaborator

Leerzeichen hinter dem *

Leerzeichen hinter dem *
jannis marked this conversation as resolved
@@ -0,0 +130,4 @@
protected void onPlayerMove(@NotNull PlayerMoveEvent playerMoveEvent) {
var player = playerMoveEvent.getPlayer();
if(this.isBeforeBeginning && playerMoveEvent.getNewPosition().y() < 29)
Collaborator

early return:
if(playerMoveEvent.getNewPosition().y() >= 29) return;
player.teleport(this.getSpawn());
if(this.isRunning) ......

early return: if(playerMoveEvent.getNewPosition().y() >= 29) return; player.teleport(this.getSpawn()); if(this.isRunning) ......
jannis marked this conversation as resolved
jannis added 1 commit 2026-02-10 20:22:40 +00:00
Pupsi approved these changes 2026-02-10 20:23:35 +00:00
jannis merged commit 27005f4fc4 into develop 2026-02-10 20:24:18 +00:00
jannis deleted branch develop-colorjump 2026-02-10 20:24:18 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MineNet/Minigames#12