Phoenix616
b8d686d9d3
Re-add backwards support down to 1.13
...
Also update PaperLib dependency and repo
2022-05-22 12:42:51 +01:00
Phoenix616
6098947fbb
Fix issues with world heights ( Resolves #50 )
...
This adds support for new 1.17 min world heights as well as move the default nether max y one down.
2022-01-05 01:12:30 +01:00
Phoenix616
617bc1bad8
Fix issues with ungenerated chunks and generated option
2020-07-03 22:12:34 +01:00
Phoenix616
e0f1ed950b
Add delay between random location checks and command parameter to set it
2020-06-22 21:49:34 +01:00
Phoenix616
abf484a161
Fix generated only chunk flag not working correctly
2020-06-01 16:52:23 +01:00
Phoenix616
24c0864ff8
Fix both a negative x and z coordinate not being possible
2020-05-14 16:55:39 +01:00
Phoenix616
081d217053
Added min and max y settings ( Resolves #2 )
...
Max y will be 127 in the nether by default. Use the -maxY parameter to change it. Also once a maxY is set it will try to find a random y between the values if the highest block is above the max y value.
2019-10-02 17:02:09 +01:00
Phoenix616
988f2ee736
Return earlier if check count exceeds max tries
2019-07-27 15:39:50 +01:00
Phoenix616
aa9d995e4d
Re-add ability to only search in loaded chunks
2019-07-27 15:38:55 +01:00
Phoenix616
a363a960f4
Fix case where the chunk check didn't finish.
...
Also make sure random chunk location calculation is correct and some minor style fixes.
2019-04-27 16:56:44 +01:00
Phoenix616
9ebc4eb64d
Improve performance by storing already checked chunks
...
Also don't allow a searcher to be started twice when it's still running
2019-04-27 02:18:02 +01:00
Phoenix616
ce3ad0e0fa
Fix issues with very small ranges and fix only corners getting found
...
This also makes the max-range inclusive instead of exclusive as that makes more sense. Previously a searcher with max range of 1 would not find a new coordinate, it should find one at least one block next to it.
2019-04-27 01:32:17 +01:00
Phoenix616
6b98efb1e4
Add initiator to targets if it's an entity and no target was found
...
This happens when the player runs the command without a target argument or when using the API methods
2019-04-27 01:14:10 +01:00
Phoenix616
24e92041c1
Fix random infinite loop and wrong axis usage in coordinate check
2019-04-27 01:06:56 +01:00
Phoenix616
b25e38f393
Rename maxChecks to maxTries and add command flag
2019-04-27 01:03:59 +01:00
Phoenix616
32de0ca58b
Fix Y coordinate at the proper location
...
This is necessary as the searcher is validating the block below the player's feet, not the one the player is standing in. Therefore we add one to the Y coordinate when completing.
2019-04-27 01:00:18 +01:00
Yannick Lamprecht
483a0bb2b3
Add an API ( #27 )
2019-04-27 00:57:32 +01:00
Phoenix616
58353be4bd
Fix loop exit condition
2019-04-12 19:46:39 +01:00
Phoenix616
f44c491324
Improve random coordinate selection
...
This will test all x/z coordinates in a chunk instead of loading extra chunks
2019-04-12 19:42:54 +01:00
Phoenix616
c4d9fd74af
Don't start multiple searches at once
...
This only applies to sign interactions and when a player uses a preset himself
2019-04-12 16:07:06 +01:00
Phoenix616
3d378bdb7b
Add option for setting the spawnpoint after teleporting
2019-04-12 13:10:39 +01:00
Phoenix616
d16f95b3b1
Add simple cooldown functionality
...
Currently doesn't support storing of that information beyond server restarts.
Also improve formatting in the plugin.yml
2019-03-27 19:02:21 +01:00
Phoenix616
2ae3593687
Fix y height and async chunk load errors
...
Also use the correct placeholder name for the world
2019-03-27 13:54:26 +01:00
Phoenix616
93149fe488
Add support for teleporting Entities on API level (Necessary for #26 )
2019-03-25 21:28:48 +01:00
Phoenix616
7c5f658de1
Add preset commands and signs
2019-03-25 21:16:05 +01:00
Phoenix616
59bcf6e79a
Implement validators and command parsing. Also add language support.
...
Theoretically this should already work...
2019-02-20 00:44:10 +01:00