toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.customblockdata
/
CustomBlockData
/
Companion
Companion
object
Companion
(
source
)
Members
Properties
CHUNK_MAX_XZ
Link copied to clipboard
const
val
CHUNK_MAX_XZ
:
Int
CHUNK_MIN_XZ
Link copied to clipboard
const
val
CHUNK_MIN_XZ
:
Int
=
0
PERSISTENCE_KEY
Link copied to clipboard
val
PERSISTENCE_KEY
:
@
Nullable
NamespacedKey
?
Functions
get
Blocks
With
Custom
Data
Link copied to clipboard
fun
getBlocksWithCustomData
(
namespace
:
String
,
chunk
:
Chunk
)
:
List
<
Block
>
fun
getBlocksWithCustomData
(
plugin
:
Plugin
,
chunk
:
Chunk
)
:
Collection
<
Block
>
get
Data
Type
Link copied to clipboard
fun
getDataType
(
pdc
:
PersistentDataContainer
,
key
:
NamespacedKey
)
:
PersistentDataType
<
*
,
*
>
?
get
Key
Link copied to clipboard
fun
getKey
(
block
:
Block
)
:
String
has
Custom
Block
Data
Link copied to clipboard
fun
hasCustomBlockData
(
block
:
Block
,
plugin
:
Plugin
)
:
Boolean
is
Dirty
Link copied to clipboard
fun
isDirty
(
block
:
Block
)
:
Boolean
set
Dirty
Link copied to clipboard
fun
setDirty
(
plugin
:
Plugin
,
blockEntry
:
Map.Entry
<
UUID
,
BlockVector
>
)