public abstract class SignChestProtection extends java.lang.Object implements ChestProtection
| Constructor and Description |
|---|
SignChestProtection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAdjacentChestProtected(com.sk89q.worldedit.util.Location searchBlock,
LocalPlayer player)
Returns whether an adjacent chest is protected.
|
boolean |
isProtected(com.sk89q.worldedit.util.Location location,
LocalPlayer player)
Returns whether a block is protected.
|
boolean |
isProtectedPlacement(com.sk89q.worldedit.util.Location block,
LocalPlayer player)
Returns whether a location where a chest block is trying to be created
is protected.
|
abstract java.lang.Boolean |
isProtectedSign(com.sk89q.worldedit.util.Location block,
LocalPlayer player) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisChestpublic abstract java.lang.Boolean isProtectedSign(com.sk89q.worldedit.util.Location block,
LocalPlayer player)
public boolean isProtected(com.sk89q.worldedit.util.Location location,
LocalPlayer player)
ChestProtectionisProtected in interface ChestProtectionlocation - The block to checkplayer - The player to checkpublic boolean isProtectedPlacement(com.sk89q.worldedit.util.Location block,
LocalPlayer player)
ChestProtectionisProtectedPlacement in interface ChestProtectionblock - The block to checkplayer - The player to checkplayer can place a block at the specified blockpublic boolean isAdjacentChestProtected(com.sk89q.worldedit.util.Location searchBlock,
LocalPlayer player)
ChestProtectionisAdjacentChestProtected in interface ChestProtectionsearchBlock - The block to checkplayer - The player to checksearchBlock is protected from access by player