mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	Javadocs/comments/deprecation
This commit is contained in:
		@@ -109,7 +109,7 @@ public interface PlotPlatform<P> extends LocaleHolder {
 | 
			
		||||
    /**
 | 
			
		||||
     * Gets the default maximum world height for the version of Minecraft that the server is running.
 | 
			
		||||
     *
 | 
			
		||||
     * @return maximum world height
 | 
			
		||||
     * @return maximum world height (inclusive)
 | 
			
		||||
     * @since TODO
 | 
			
		||||
     */
 | 
			
		||||
    int versionMaxHeight();
 | 
			
		||||
 
 | 
			
		||||
@@ -67,7 +67,7 @@ public interface World<T> {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Get the max world height. Exclusive.
 | 
			
		||||
     * Get the max world height. Inclusive.
 | 
			
		||||
     *
 | 
			
		||||
     * @since TODO
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
@@ -141,10 +141,10 @@ public abstract class PlotArea {
 | 
			
		||||
    private boolean homeAllowNonmember = false;
 | 
			
		||||
    private BlockLoc nonmemberHome;
 | 
			
		||||
    private BlockLoc defaultHome;
 | 
			
		||||
    private int maxBuildHeight = PlotSquared.platform().versionMaxHeight();
 | 
			
		||||
    private int minBuildHeight = PlotSquared.platform().versionMinHeight() + 1;
 | 
			
		||||
    private int maxGenHeight = PlotSquared.platform().versionMaxHeight();
 | 
			
		||||
    private int minGenHeight = PlotSquared.platform().versionMinHeight();
 | 
			
		||||
    private int maxBuildHeight = PlotSquared.platform().versionMaxHeight() + 1; // Exclusive
 | 
			
		||||
    private int minBuildHeight = PlotSquared.platform().versionMinHeight() + 1; // Inclusive
 | 
			
		||||
    private int maxGenHeight = PlotSquared.platform().versionMaxHeight(); // Inclusive
 | 
			
		||||
    private int minGenHeight = PlotSquared.platform().versionMinHeight(); // Inclusive
 | 
			
		||||
    private GameMode gameMode = GameModes.CREATIVE;
 | 
			
		||||
    private Map<String, PlotExpression> prices = new HashMap<>();
 | 
			
		||||
    private List<String> schematics = new ArrayList<>();
 | 
			
		||||
@@ -1365,7 +1365,7 @@ public abstract class PlotArea {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Get the maximum height players may build in. Inclusive.
 | 
			
		||||
     * Get the maximum height players may build in. Exclusive.
 | 
			
		||||
     */
 | 
			
		||||
    public int getMaxBuildHeight() {
 | 
			
		||||
        return this.maxBuildHeight;
 | 
			
		||||
 
 | 
			
		||||
@@ -53,6 +53,9 @@ public class ScopedQueueCoordinator extends DelegateQueueCoordinator {
 | 
			
		||||
    private final int dy;
 | 
			
		||||
    private final int dz;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new ScopedQueueCoordinator instance that delegates to a given QueueCoordinator. Locations are inclusive.
 | 
			
		||||
     */
 | 
			
		||||
    public ScopedQueueCoordinator(@Nullable QueueCoordinator parent, @NonNull Location min, @NonNull Location max) {
 | 
			
		||||
        super(parent);
 | 
			
		||||
        this.min = min;
 | 
			
		||||
 
 | 
			
		||||
@@ -79,7 +79,9 @@ public abstract class WorldUtil {
 | 
			
		||||
     * @param p2x   Max X
 | 
			
		||||
     * @param p2z   Max Z
 | 
			
		||||
     * @param biome Biome
 | 
			
		||||
     * @deprecated use {@link WorldUtil#setBiome(PlotArea, int, int, int, int, BiomeType)}
 | 
			
		||||
     */
 | 
			
		||||
    @Deprecated(forRemoval = true)
 | 
			
		||||
    public static void setBiome(String world, int p1x, int p1z, int p2x, int p2z, BiomeType biome) {
 | 
			
		||||
        BlockVector3 pos1 = BlockVector2.at(p1x, p1z).toBlockVector3();
 | 
			
		||||
        BlockVector3 pos2 = BlockVector2.at(p2x, p2z).toBlockVector3(255);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user