toggle menu
nova-parent
0.17-alpha.39
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.integration.customitems
/
CustomItemServiceManager
Custom
Item
Service
Manager
object
CustomItemServiceManager
Members
Functions
can
Break
Block
Link copied to clipboard
fun
canBreakBlock
(
block
:
Block
,
tool
:
ItemStack
?
)
:
Boolean
?
get
Block
Item
Model
Paths
Link copied to clipboard
fun
getBlockItemModelPaths
(
)
:
Map
<
ResourceLocation
,
ResourcePath
>
get
Block
Type
Link copied to clipboard
fun
getBlockType
(
block
:
Block
)
:
CustomBlockType
?
get
Drops
Link copied to clipboard
fun
getDrops
(
block
:
Block
,
tool
:
ItemStack
?
)
:
List
<
ItemStack
>
?
get
Id
Link copied to clipboard
fun
getId
(
block
:
Block
)
:
String
?
fun
getId
(
item
:
ItemStack
)
:
String
?
get
Item
By
Name
Link copied to clipboard
fun
getItemByName
(
name
:
String
)
:
ItemStack
?
get
Item
Test
Link copied to clipboard
fun
getItemTest
(
name
:
String
)
:
SingleItemTest
?
get
Item
Type
Link copied to clipboard
fun
getItemType
(
item
:
ItemStack
)
:
CustomItemType
?
get
Name
Link copied to clipboard
fun
getName
(
block
:
Block
,
locale
:
String
)
:
Component
?
fun
getName
(
item
:
ItemStack
,
locale
:
String
)
:
Component
?
has
Recipe
Link copied to clipboard
fun
hasRecipe
(
key
:
NamespacedKey
)
:
Boolean
place
Block
Link copied to clipboard
fun
placeBlock
(
item
:
ItemStack
,
location
:
Location
,
playSound
:
Boolean
)
:
Boolean
remove
Block
Link copied to clipboard
fun
removeBlock
(
block
:
Block
,
breakEffects
:
Boolean
)
:
Boolean