* feature: implement road flags as widely as seems reasonable
- Closes#3047
- Any further road flag implementations would be very specific from what I can gather, and thus the gist of #3047 is now implemented
* Add javadoc since tag
Co-authored-by: Alexander Brandes <mc.cache@web.de>
* Create util class for method
Co-authored-by: Alexander Brandes <mc.cache@web.de>
* feature: add flag for beacon effects of other plots
Took 7 minutes
* fix: don't add the beacon effect flag if the platform is not paper
Took 2 minutes
* fix: creating consistency in documentation
Took 7 minutes
* feature: add global paper setting for the beacon-effect
* fix: description of the plot flag and rewrite of the listener
* fix: renamed flag and added road support
* fix: renamed flag and changed flag functionality
* fix: added spigot fallback listener and fixed NPE
* refactor: Address checkstyle violations
* addition: remove beacon effects when player leaves a plot
* fix: updated javadoc and fixed usage of the PlotListener#addEffect method
* chore: Run license updater
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
* Implement build height limits into more events
* Implement util method to check if y is within world build limits
* Extract duplicate player-build-height-checking to plot area
- Extract to core module to allow any possible future platforms to access the method, as they will always duplicate
* Add code tag to javadoc
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
* Ensure forceSync is provided when constructing chunk coordinators
* Re-add old factory create method and deprecate for removal
* Remove old create method that Guice doesn't like
* Implement tile entities to generation using Populators
- Fixes#3051
* Javadocs
* Don't do the big error if heads don't work
* Address comments regarding javadocs/comments
* Ensure Location is still sealed, and add api description annotation to public methods in UncheckedWorldLocation
* Clean up HybridGen
- There's no need for while loops acting as a modulo after we've already performed a modulo
- Make the code-sections calculating if positions are in the wall/road more readable
- Collaps duplicate if-elseif bodies
* Better exception handling when setting data to LimitedRegion during chunk population
* Address comments
Co-authored-by: Alexander Brandes <mc.cache@web.de>
* Better naming for "legacy" block state populator
Co-authored-by: Alexander Brandes <mc.cache@web.de>