All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.aurelium.auraskills.api.region.Regions Maven / Gradle / Ivy

There is a newer version: 2.2.3
Show newest version
package dev.aurelium.auraskills.api.region;

import org.bukkit.block.Block;

public interface Regions {

    /**
     * Gets whether the block was placed by a player as tracked by the region manager.
     * Placed blocks will not give XP in most cases.
     *
     * @param block the block to check
     * @return whether the block is player-placed
     */
    boolean isPlacedBlock(Block block);

    /**
     * Marks the block as being player-placed in the region manager.
     * Placed blocks will not give XP in most cases.
     *
     * @param block the block to mark as player-placed
     */
    void addPlacedBlock(Block block);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy