WorldGuard

public class WorldGuard implements Listener

Constructors

Link copied to clipboard
public void WorldGuard()

Functions

Link copied to clipboard
public static boolean checkArea(Location location, Player player)
Link copied to clipboard
public static ProtectedRegion generateProtectedRegion(FitAnything fitAnything, String regionName)
Creates and returns a WorldGuard region, useful for API purposes
Link copied to clipboard
public static boolean hasRegionOverlap(World world, NaturalDungeonReservation.BlockBounds bounds)
Returns true when a natural modular-generation footprint overlaps a named region.
Link copied to clipboard
public static void initializeFlag()
Link copied to clipboard
public void onBlockBreak(BlockBreakEvent event)
Link copied to clipboard
public void onBlockPlace(BlockPlaceEvent event)
Link copied to clipboard
public void onEliteDeath(EliteMobDeathEvent event)
Link copied to clipboard
public static void Protect(BlockVector3 corner1, BlockVector3 corner2, String bossFilename, Location spawnLocation)
public static void Protect(Location lowestCorner, Location highestCorner, String bossFilename, Location spawnLocation)
Link copied to clipboard
public static void Unprotect(CustomBossEntity customBossEntity)