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 PSProtectBlockProtectionStones.getBlockOptions(String blockType)Gets the config options for the protection block type specified.static PSProtectBlockProtectionStones.getBlockOptions(org.bukkit.block.Block block)Get the protection block config options for the block specified.static PSProtectBlockProtectionStones.getBlockOptions(org.bukkit.inventory.ItemStack item)Get the protection block config options for the item specified.static PSProtectBlockProtectionStones.getProtectBlockFromAlias(String name)Get the config options for a protect block based on its aliasPSMergedRegion.getTypeOptions()abstract PSProtectBlockPSRegion.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 booleanBlockHandler.createActualRegion(org.bukkit.entity.Player p, org.bukkit.Location l, PSProtectBlock blockOptions)static org.bukkit.inventory.ItemStackProtectionStones.createProtectBlockItem(PSProtectBlock b)Get a protection block item from a protect block config object.static booleanBlockHandler.createPSRegion(org.bukkit.entity.Player p, org.bukkit.Location l, PSProtectBlock blockOptions)voidPSMergedRegion.setType(PSProtectBlock type)voidPSRegion.setType(PSProtectBlock type)Change the type of the protection region.voidPSStandardRegion.setType(PSProtectBlock type) -
Uses of PSProtectBlock in dev.espi.protectionstones.utils
Methods in dev.espi.protectionstones.utils with parameters of type PSProtectBlockModifier and TypeMethodDescriptionstatic booleanWGUtils.canMergeRegionTypes(PSProtectBlock current, PSRegion mergeInto)static booleanLimitUtil.check(org.bukkit.entity.Player p, PSProtectBlock b)static com.sk89q.worldguard.protection.regions.ProtectedCuboidRegionWGUtils.getDefaultProtectedRegion(PSProtectBlock b, PSLocation v)static org.bukkit.NamespacedKeyRecipeUtil.getNamespacedKeyForBlock(PSProtectBlock block)static StringBlockUtil.getUUIDFromBase64PS(PSProtectBlock b)static org.bukkit.inventory.ShapedRecipeRecipeUtil.parseRecipe(PSProtectBlock block)Method parameters in dev.espi.protectionstones.utils with type arguments of type PSProtectBlockModifier and TypeMethodDescriptionstatic StringLimitUtil.checkAddOwner(PSPlayer psp, List<PSProtectBlock> blocksAdded)