Skip to content

Commit

Permalink
Added some randomness in where islands are created
Browse files Browse the repository at this point in the history
  • Loading branch information
ly-nxs committed Feb 29, 2024
1 parent 1be26bd commit de5ce2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/lynx/skyblocktp/commands/tpcommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public boolean onCommand(CommandSender sender, Command command, String s, String
x += 128;
z -= 128;
} else{
x -= 128;
z -= 128;
x -= 64;
z -= 64;

This comment has been minimized.

Copy link
@jacob52571

jacob52571 Mar 1, 2024

Collaborator

@ly-nxs this still doesn't solve the problem. 1, 3, 3 can still lead to the same place. One axis should always be positive while the other can vary, i.e. the axis will always add so that it is guaranteed that no island could generate in the same place. You would only be able to implement

x-axis z-axis x-axis z-axis
+ + + -
- - - +
+ + - +
- - + -

This comment has been minimized.

Copy link
@ly-nxs

ly-nxs Mar 15, 2024

Author Owner

oh ok

This comment has been minimized.

Copy link
@ly-nxs

ly-nxs Mar 19, 2024

Author Owner

@jacob52571 The Y level will always be different

}
config.usedPlayer(player);
}
Expand Down

0 comments on commit de5ce2a

Please sign in to comment.