nova-parent
Toggle table of contents
0.18-alpha.14
jvm
Platform filter
jvm
Switch theme
Search in API
nova-parent
nova
/
xyz.xenondevs.nova.world.loot
/
LootTable
Loot
Table
class
LootTable
(
items
:
List
<
LootItem
>
,
whitelist
:
List
<
NamespacedKey
>
,
blacklist
:
List
<
NamespacedKey
>
)
Members
Constructors
Loot
Table
Link copied to clipboard
constructor
(
items
:
List
<
LootItem
>
,
whitelist
:
List
<
NamespacedKey
>
,
blacklist
:
List
<
NamespacedKey
>
)
Functions
get
Random
Items
Link copied to clipboard
fun
getRandomItems
(
)
:
List
<
ItemStack
>
is
Allowed
Link copied to clipboard
fun
isAllowed
(
key
:
NamespacedKey
)
:
Boolean