Uses of Interface
wtf.choco.locksecurity.api.block.ILockedBlock
Package | Description |
---|---|
wtf.choco.locksecurity.api.block | |
wtf.choco.locksecurity.api.event.block | |
wtf.choco.locksecurity.api.key |
-
Uses of ILockedBlock in wtf.choco.locksecurity.api.block
Subinterfaces of ILockedBlock in wtf.choco.locksecurity.api.block Modifier and Type Interface Description interface
ILockedMultiBlock
Represents a more specific type ofILockedBlock
that holds more than one position in the world (such as doors or double chests).Methods in wtf.choco.locksecurity.api.block that return ILockedBlock Modifier and Type Method Description ILockedBlock
ILockedBlockManager. getLockedBlock(org.bukkit.block.Block block)
Get theILockedBlock
at the givenBlock
if one is present.ILockedBlock
ILockedBlockManager. getLockedBlock(org.bukkit.Location location)
Get theILockedBlock
at the givenLocation
if one is present.ILockedBlock
ILockedBlockManager. getLockedBlock(org.bukkit.World world, int x, int y, int z)
Get theILockedBlock
at the given position if one is present.ILockedBlock
ILockedBlockManager. lock(org.bukkit.block.Block block, ILockSecurityPlayer owner)
Lock the block at the given location with the supplied data.ILockedBlock
ILockedBlockManager. lock(org.bukkit.block.Block block, ILockSecurityPlayer owner, String nickname)
Lock the block at the given location with the supplied data.ILockedBlock
ILockedBlockManager. lock(org.bukkit.block.Block block, ILockSecurityPlayer owner, ZonedDateTime lockTime)
Lock the block at the given location with the supplied data.ILockedBlock
ILockedBlockManager. lock(org.bukkit.block.Block block, ILockSecurityPlayer owner, ZonedDateTime lockTime, String nickname)
Lock the block at the given location with the supplied data.Methods in wtf.choco.locksecurity.api.block that return types with arguments of type ILockedBlock Modifier and Type Method Description Collection<ILockedBlock>
ILockedBlockManager. getLockedBlocks()
Get an immutable collection of allILockedBlocks
on the server.Collection<ILockedBlock>
ILockedBlockManager. getLockedBlocks(org.bukkit.OfflinePlayer owner)
Get an immutable collection of allILockedBlocks
owned by the specified player.Collection<ILockedBlock>
ILockedBlockManager. getLockedBlocks(ILockSecurityPlayer owner)
Get an immutable collection of allILockedBlocks
owned by the specified player. -
Uses of ILockedBlock in wtf.choco.locksecurity.api.event.block
Methods in wtf.choco.locksecurity.api.event.block that return ILockedBlock Modifier and Type Method Description ILockedBlock
PlayerBlockLockEvent. getLockedBlock()
Get theILockedBlock
involved in this event.ILockedBlock
PlayerBlockUnlockEvent. getLockedBlock()
Get theILockedBlock
involved in this event.ILockedBlock
PlayerInteractLockedBlockEvent. getLockedBlock()
Get theILockedBlock
involved in this event.Constructors in wtf.choco.locksecurity.api.event.block with parameters of type ILockedBlock Constructor Description PlayerBlockLockEvent(ILockSecurityPlayer player, ILockedBlock lockedBlock, org.bukkit.inventory.ItemStack unsmithedKey, org.bukkit.inventory.ItemStack smithedKey, org.bukkit.inventory.EquipmentSlot hand)
PlayerBlockUnlockEvent(ILockSecurityPlayer player, ILockedBlock lockedBlock, org.bukkit.inventory.ItemStack key, org.bukkit.inventory.EquipmentSlot hand, boolean request)
PlayerInteractLockedBlockEvent(ILockSecurityPlayer player, ILockedBlock lockedBlock, org.bukkit.inventory.ItemStack item, org.bukkit.inventory.EquipmentSlot hand, PlayerInteractLockedBlockEvent.Action action)
-
Uses of ILockedBlock in wtf.choco.locksecurity.api.key
Methods in wtf.choco.locksecurity.api.key that return ILockedBlock Modifier and Type Method Description ILockedBlock[]
IKeyFactory. getUnlocks(org.bukkit.inventory.ItemStack item)
Get an array ofILockedBlocks
that the provided key unlocks.Methods in wtf.choco.locksecurity.api.key with parameters of type ILockedBlock Modifier and Type Method Description IKeyBuilderSmithed
IKeyBuilderSmithed. unlocks(ILockedBlock block)
Add the specified block to the built key's unlockable blocks.IKeyBuilderSmithed
IKeyBuilderSmithed. unlocks(ILockedBlock... blocks)
Add the specified blocks to the built key's unlockable blocks.Method parameters in wtf.choco.locksecurity.api.key with type arguments of type ILockedBlock Modifier and Type Method Description IKeyBuilderSmithed
IKeyBuilderSmithed. unlocks(Iterable<? extends ILockedBlock> blocks)
Add the specified blocks to the built key's unlockable blocks.