Uses of Class
dev.espi.protectionstones.PSProtectBlock
Packages that use PSProtectBlock
-
Uses of PSProtectBlock in dev.espi.protectionstones
Methods in dev.espi.protectionstones that return PSProtectBlockModifier and TypeMethodDescriptionstatic PSProtectBlock
ProtectionStones.getBlockOptions(String blockType)
Gets the config options for the protection block type specified.static PSProtectBlock
ProtectionStones.getBlockOptions(org.bukkit.block.Block block)
Get the protection block config options for the block specified.static PSProtectBlock
ProtectionStones.getBlockOptions(org.bukkit.inventory.ItemStack item)
Get the protection block config options for the item specified.static PSProtectBlock
ProtectionStones.getProtectBlockFromAlias(String name)
Get the config options for a protect block based on its aliasPSMergedRegion.getTypeOptions()
abstract PSProtectBlock
PSRegion.getTypeOptions()
PSStandardRegion.getTypeOptions()
Methods in dev.espi.protectionstones that return types with arguments of type PSProtectBlockModifier and TypeMethodDescriptionProtectionStones.getConfiguredBlocks()
Returns the list of PSProtectBlocks configured through the config.PSPlayer.getRegionLimits()
Get a player's permission limits for each protection block (protectionstones.limit.alias.x) Protection blocks that aren't specified in the player's permissions will not be returned in the map.Methods in dev.espi.protectionstones with parameters of type PSProtectBlockModifier and TypeMethodDescriptionstatic boolean
BlockHandler.createActualRegion(org.bukkit.entity.Player p, org.bukkit.Location l, PSProtectBlock blockOptions)
static org.bukkit.inventory.ItemStack
ProtectionStones.createProtectBlockItem(PSProtectBlock b)
Get a protection block item from a protect block config object.static boolean
BlockHandler.createPSRegion(org.bukkit.entity.Player p, org.bukkit.Location l, PSProtectBlock blockOptions)
void
PSMergedRegion.setType(PSProtectBlock type)
void
PSRegion.setType(PSProtectBlock type)
Change the type of the protection region.void
PSStandardRegion.setType(PSProtectBlock type)
-
Uses of PSProtectBlock in dev.espi.protectionstones.utils
Methods in dev.espi.protectionstones.utils with parameters of type PSProtectBlockModifier and TypeMethodDescriptionstatic boolean
WGUtils.canMergeRegionTypes(PSProtectBlock current, PSRegion mergeInto)
static boolean
LimitUtil.check(org.bukkit.entity.Player p, PSProtectBlock b)
static com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion
WGUtils.getDefaultProtectedRegion(PSProtectBlock b, PSLocation v)
static org.bukkit.NamespacedKey
RecipeUtil.getNamespacedKeyForBlock(PSProtectBlock block)
static String
BlockUtil.getUUIDFromBase64PS(PSProtectBlock b)
static org.bukkit.inventory.ShapedRecipe
RecipeUtil.parseRecipe(PSProtectBlock block)
Method parameters in dev.espi.protectionstones.utils with type arguments of type PSProtectBlockModifier and TypeMethodDescriptionstatic String
LimitUtil.checkAddOwner(PSPlayer psp, List<PSProtectBlock> blocksAdded)