Index

A B C D E F G H I K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

ALLOW - Static variable in class io.github.lijinhong11.protector.api.flag.FlagState
 
allowBreak(Player) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Check if the player can break a block
allowBreak(Player, Block) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
allowBreak(Player, Location) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
allowBreak(Player, Location) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Check if the player can break a block
allowInteract(Player) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Check if the player can interact with a block
allowInteract(Player, Block) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
allowInteract(Player, Location) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
allowInteract(Player, Location) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Check if the player can interact with the block
allowPlace(Player) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Check if the player can place a block
allowPlace(Player, Block) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
allowPlace(Player, Location) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
allowPlace(Player, Location) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Check if the player can place a block
ANIMAL_SPAWN - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 

B

BOOLEAN - Static variable in class io.github.lijinhong11.protector.api.flag.FlagState.FlagType
 
BREAK - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
BUILD - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 

C

CommonFlags - Enum Class in io.github.lijinhong11.protector.api.flag
The enum class to store common flags
CONTAINER - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
CREEPER - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
CustomFlag - Record Class in io.github.lijinhong11.protector.api.flag
The custom flag object
CustomFlag(String, String, boolean, String, String) - Constructor for record class io.github.lijinhong11.protector.api.flag.CustomFlag
Creates an instance of a CustomFlag record class.

D

defaultValue() - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Returns the value of the defaultValue record component.
DENY - Static variable in class io.github.lijinhong11.protector.api.flag.FlagState
 
description() - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Returns the value of the description record component.
displayName() - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Returns the value of the displayName record component.

E

ENDERPEARL - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
equals(Object) - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class io.github.lijinhong11.protector.api.flag.FlagState.FlagType
 

F

FakeEventMaker - Interface in io.github.lijinhong11.protector.api.protection
 
findBlockModule(Player, Location) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Find the block protection module that protects the block
findModule(Location) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Find the protection module that protects the protection range
FIRESPREAD - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
FlagMap - Class in io.github.lijinhong11.protector.api.convertions
 
FlagMap() - Constructor for class io.github.lijinhong11.protector.api.convertions.FlagMap
 
FlagMap(Map<String, T>, Function<T, IFlagState<?>>) - Constructor for class io.github.lijinhong11.protector.api.convertions.FlagMap
 
FlagState - Class in io.github.lijinhong11.protector.api.flag
 
FlagState.FlagType<T> - Class in io.github.lijinhong11.protector.api.flag
 
FLY - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromAny(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromBentoBox(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromBoolean(boolean) - Static method in class io.github.lijinhong11.protector.api.flag.FlagState
 
fromDominion(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromHuskClaims(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromNullableBoolean(Boolean) - Static method in class io.github.lijinhong11.protector.api.flag.FlagState
 
fromPlotSquared(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromRedProtect(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromResidence(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
fromWorldGuard(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 

G

getAdmins() - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get all admins
getAllAvailableProtectionModules() - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Get all available protection modules.
getFirstAvailableModule() - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Get the first available protection module
getFlags() - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get all flags
getFlagState(CommonFlags) - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get flag state
getFlagState(CommonFlags, OfflinePlayer) - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get flag state
getFlagState(String) - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get flag state
getFlagState(String, OfflinePlayer) - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get flag state
getFlagType() - Method in interface io.github.lijinhong11.protector.api.flag.IFlagState
 
getForBentoBox() - Method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
getForDominion() - Method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
getForHuskClaims() - Method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
getForPlotSquared() - Method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
getForRedProtect() - Method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
getForResidence() - Method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
getForWorldGuard() - Method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
getGlobalFlag(CommonFlags, String) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Get the global flag
getGlobalFlag(String, String) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Get the global flag
getMembers() - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get all members
getModuleByPluginName(String) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Find the protection module by plugin name
getOwner() - Method in interface io.github.lijinhong11.protector.api.protection.ProtectionRangeInfo
Get owner
getPluginHost() - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Get the plugin instance
getPluginName() - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
getPluginName() - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Get the name of the corresponding plugin
getProtectionRangeInfo(Location) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Get the protection range info of the location
getProtectionRangeInfo(Player) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Get the protection range info of the player's location
getProtectionRangeInfos(OfflinePlayer) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Get all protection range info that the player owns
getValue() - Method in interface io.github.lijinhong11.protector.api.flag.IFlagState
 

H

hashCode() - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Returns a hash code value for this object.
hashCode() - Method in class io.github.lijinhong11.protector.api.flag.FlagState.FlagType
 

I

IBlockProtectionModule - Interface in io.github.lijinhong11.protector.api.block
 
id() - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Returns the value of the id record component.
IFlagState<T> - Interface in io.github.lijinhong11.protector.api.flag
 
INTERACT - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
io.github.lijinhong11.protector.api - package io.github.lijinhong11.protector.api
 
io.github.lijinhong11.protector.api.annotations - package io.github.lijinhong11.protector.api.annotations
 
io.github.lijinhong11.protector.api.block - package io.github.lijinhong11.protector.api.block
 
io.github.lijinhong11.protector.api.convertions - package io.github.lijinhong11.protector.api.convertions
 
io.github.lijinhong11.protector.api.flag - package io.github.lijinhong11.protector.api.flag
 
io.github.lijinhong11.protector.api.protection - package io.github.lijinhong11.protector.api.protection
 
IProtectionModule - Interface in io.github.lijinhong11.protector.api.protection
 
isEventFake(Event) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Check the event is fake
isEventFake(Event) - Method in interface io.github.lijinhong11.protector.api.protection.FakeEventMaker
Check the event is fake
isInProtectionRange(Location) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Check if the location is in the protection range
isInProtectionRange(Player) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Check if the player is in the protection range
isProtected(Player, Block) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
isProtected(Player, Location) - Method in interface io.github.lijinhong11.protector.api.block.IBlockProtectionModule
 
isSupportGlobalFlags() - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Whether the module supports global flags
ITEM_DROP - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
ITEM_PICKUP - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 

K

KEEP_EXP - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
KEEP_INV - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 

M

MOB_ITEM_DROP - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
MONSTER_SPAWN - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
MOVE - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 

N

namespace() - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Returns the value of the namespace record component.
NOT_SET - Static variable in class io.github.lijinhong11.protector.api.flag.FlagState
 

O

OBJECT - Static variable in class io.github.lijinhong11.protector.api.flag.FlagState.FlagType
 
of(FlagState.FlagType<T>, T) - Static method in class io.github.lijinhong11.protector.api.flag.FlagState
 

P

PLACE - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
ProtectionAPIPlugin - Class in io.github.lijinhong11.protector.api
 
ProtectionAPIPlugin() - Constructor for class io.github.lijinhong11.protector.api.ProtectionAPIPlugin
 
ProtectionRangeInfo - Interface in io.github.lijinhong11.protector.api.protection
 
ProtectorAPI - Class in io.github.lijinhong11.protector.api
 
ProtectorAPI() - Constructor for class io.github.lijinhong11.protector.api.ProtectorAPI
 
PVP - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 

R

reason() - Element in annotation interface io.github.lijinhong11.protector.api.annotations.WeakImplementation
 
register(IBlockProtectionModule) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Register the block protection module
register(IProtectionModule) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Register the protection module
registerFlag(CustomFlag) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Register a flag
registerFlag(CustomFlag) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Register a custom flag.

S

setGlobalFlag(String, CommonFlags, Object) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Set the global flag
setGlobalFlag(String, String, Object) - Method in interface io.github.lijinhong11.protector.api.protection.IProtectionModule
Set the global flag
setPluginHost(ProtectionAPIPlugin) - Static method in class io.github.lijinhong11.protector.api.ProtectorAPI
Set the plugin instance

T

TNT - Enum constant in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
 
toString() - Method in record class io.github.lijinhong11.protector.api.flag.CustomFlag
Returns a string representation of this record class.
toString() - Method in class io.github.lijinhong11.protector.api.flag.FlagState.FlagType
 

U

UNSUPPORTED - Static variable in class io.github.lijinhong11.protector.api.flag.FlagState
Will use this flag state when the flag is not supported by the protection module.

V

valueOf(String) - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.lijinhong11.protector.api.flag.CommonFlags
Returns an array containing the constants of this enum class, in the order they are declared.

W

WeakImplementation - Annotation Interface in io.github.lijinhong11.protector.api.annotations
If the implementation is weak it will be annotated with this.
WORLD_NOT_FOUND - Static variable in class io.github.lijinhong11.protector.api.flag.FlagState
Will use this flag state when the world is not found.
A B C D E F G H I K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form