Index

B C E F G H I L P R S U V 
All Classes and Interfaces|All Packages

B

BLOCK_BREAK - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being broken by a player
BLOCK_PLACE - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being replaced by a new block (for example STONE being placed into a TALL_GRASS)
BURN - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being destroyed by fire

C

clear() - Method in class com.jeff_media.customblockdata.CustomBlockData
Removes all CustomBlockData and disables the protection status (CustomBlockData.setProtected(boolean)
com.jeff_media.customblockdata - package com.jeff_media.customblockdata
The root package of the CustomBlockData API
com.jeff_media.customblockdata.events - package com.jeff_media.customblockdata.events
Classes dedicated to handling triggered code executions
copyTo(Block, Plugin) - Method in class com.jeff_media.customblockdata.CustomBlockData
Copies all data to another block.
CustomBlockData - Class in com.jeff_media.customblockdata
Represents a PersistentDataContainer for a specific Block.
CustomBlockData(Block, String) - Constructor for class com.jeff_media.customblockdata.CustomBlockData
Deprecated.
CustomBlockData(Block, Plugin) - Constructor for class com.jeff_media.customblockdata.CustomBlockData
Gets the PersistentDataContainer associated with the given block and plugin
CustomBlockDataEvent - Class in com.jeff_media.customblockdata.events
Represents an event that removes, changes or moves CustomBlockData due to regular Bukkit Events.
CustomBlockDataEvent(Plugin, Block, Event) - Constructor for class com.jeff_media.customblockdata.events.CustomBlockDataEvent
 
CustomBlockDataEvent.Reason - Enum Class in com.jeff_media.customblockdata.events
Represents the reason for a change of CustomBlockData
CustomBlockDataMoveEvent - Class in com.jeff_media.customblockdata.events
Called when a block with CustomBlockData is moved by a piston to a new location.
CustomBlockDataMoveEvent(Plugin, Block, Block, Event) - Constructor for class com.jeff_media.customblockdata.events.CustomBlockDataMoveEvent
 
CustomBlockDataRemoveEvent - Class in com.jeff_media.customblockdata.events
Called when a block's CustomBlockData is about to be removed because the block was broken, replaced, or has changed in other ways.
CustomBlockDataRemoveEvent(Plugin, Block, Event) - Constructor for class com.jeff_media.customblockdata.events.CustomBlockDataRemoveEvent
 

E

ENTITY_CHANGE_BLOCK - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being changed by an entity.
EXPLOSION - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being destroyed by an explosion

F

FADE - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being destroyed by melting, etc.
FERTILIZE - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being changed by fertilizing a given block with bonemeal.

G

get(NamespacedKey, PersistentDataType<T, Z>) - Method in class com.jeff_media.customblockdata.CustomBlockData
 
getAdapterContext() - Method in class com.jeff_media.customblockdata.CustomBlockData
 
getApplicableEvents() - Method in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Gets a list of Bukkit Event classes that are associated with this Reason
getBlock() - Method in class com.jeff_media.customblockdata.CustomBlockData
Gets the Block associated with this CustomBlockData, or null if the world is no longer loaded.
getBlock() - Method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
Gets the block involved in this event.
getBlocksWithCustomData(String, Chunk) - Static method in class com.jeff_media.customblockdata.CustomBlockData
Returns a Set of all blocks in this Chunk containing Custom Block Data created by the given plugin
getBlocksWithCustomData(Plugin, Chunk) - Static method in class com.jeff_media.customblockdata.CustomBlockData
Returns a Set of all blocks in this chunk containing Custom Block Data created by the given plugin
getBlockTo() - Method in class com.jeff_media.customblockdata.events.CustomBlockDataMoveEvent
 
getBukkitEvent() - Method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
Gets the underlying Bukkit Event that has caused this event to be called.
getCustomBlockData() - Method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
Gets the CustomBlockData involved in this event.
getDataType(NamespacedKey) - Method in class com.jeff_media.customblockdata.CustomBlockData
Gets the proper primitive PersistentDataType for the given NamespacedKey
getDataType(PersistentDataContainer, NamespacedKey) - Static method in class com.jeff_media.customblockdata.CustomBlockData
Gets the proper primitive PersistentDataType for the given NamespacedKey in the given PersistentDataContainer
getHandlerList() - Static method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
 
getHandlers() - Method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
 
getKeys() - Method in class com.jeff_media.customblockdata.CustomBlockData
 
getOrDefault(NamespacedKey, PersistentDataType<T, Z>, Z) - Method in class com.jeff_media.customblockdata.CustomBlockData
 
getReason() - Method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
Gets the reason for this change of CustomBlockData

H

has(NamespacedKey) - Method in class com.jeff_media.customblockdata.CustomBlockData
 
has(NamespacedKey, PersistentDataType<T, Z>) - Method in class com.jeff_media.customblockdata.CustomBlockData
 
hasCustomBlockData(Block, Plugin) - Static method in class com.jeff_media.customblockdata.CustomBlockData
Get if the given Block has any CustomBockData associated with it

I

isCancelled() - Method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
Gets the cancellation status of this event.
isEmpty() - Method in class com.jeff_media.customblockdata.CustomBlockData
 
isProtected() - Method in class com.jeff_media.customblockdata.CustomBlockData
Gets whether this CustomBlockData is protected.
isProtected(Block, Plugin) - Static method in class com.jeff_media.customblockdata.CustomBlockData
Get if the given Block's CustomBlockData is protected.

L

LEAVES_DECAY - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Deprecated.
Draft API

P

PISTON - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being moved by a piston

R

readFromBytes(byte[]) - Method in class com.jeff_media.customblockdata.CustomBlockData
Deprecated.
Paper-only
readFromBytes(byte[], boolean) - Method in class com.jeff_media.customblockdata.CustomBlockData
Deprecated.
Paper-only
registerListener(Plugin) - Static method in class com.jeff_media.customblockdata.CustomBlockData
Starts to listen and manage block-related events such as BlockBreakEvent.
remove(NamespacedKey) - Method in class com.jeff_media.customblockdata.CustomBlockData
 

S

serializeToBytes() - Method in class com.jeff_media.customblockdata.CustomBlockData
Deprecated.
Paper-only
set(NamespacedKey, PersistentDataType<T, Z>, Z) - Method in class com.jeff_media.customblockdata.CustomBlockData
 
setCancelled(boolean) - Method in class com.jeff_media.customblockdata.events.CustomBlockDataEvent
Sets the cancellation status of this event.
setProtected(boolean) - Method in class com.jeff_media.customblockdata.CustomBlockData
Sets whether this CustomBlockData is protected.
STRUCTURE_GROW - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Represents a block being changed by a structure (Sapling -> Tree, Mushroom -> Huge Mushroom), naturally or using bonemeal.

U

UNKNOWN - Enum constant in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
 

V

valueOf(String) - Static method in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.jeff_media.customblockdata.events.CustomBlockDataEvent.Reason
Returns an array containing the constants of this enum class, in the order they are declared.
B C E F G H I L P R S U V 
All Classes and Interfaces|All Packages