Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EliteMobs
/
com.magmaguy.elitemobs.items
/
LootTables
Loot
Tables
public
class
LootTables
implements
Listener
Created by MagmaGuy on 04/06/2017.
Members
Constructors
Loot
Tables
Link copied to clipboard
public
void
LootTables
(
)
Functions
deliver
Generated
Item
Link copied to clipboard
public
static
void
deliverGeneratedItem
(
Player
player
,
Location
location
,
ItemStack
itemStack
)
drop
Weighed
Fixed
Item
Link copied to clipboard
public
static
ItemStack
dropWeighedFixedItem
(
EliteEntity
eliteEntity
,
Player
player
)
public
static
ItemStack
dropWeighedFixedItem
(
Location
location
,
Player
player
)
generate
Item
Stack
Link copied to clipboard
public
static
ItemStack
generateItemStack
(
int itemTier
,
Player
player
,
EliteEntity
eliteEntity
)
generate
Loot
Link copied to clipboard
public
static
ItemStack
generateLoot
(
int itemTier
,
EliteEntity
eliteEntity
,
Player
player
)
public
static
ItemStack
generateLoot
(
int itemLevel
,
Location
location
,
Player
player
)
Used for "fake" drops.
generate
Player
Loot
Link copied to clipboard
public
static
void
generatePlayerLoot
(
EliteEntity
eliteEntity
)
generate
Special
Loot
Link copied to clipboard
public
static
void
generateSpecialLoot
(
Player
player
,
int level
,
EliteEntity
eliteEntity
)
initialize
Link copied to clipboard
public
static
void
initialize
(
)
on
Death
Link copied to clipboard
public
void
onDeath
(
EliteMobDeathEvent
event
)
set
Item
Tier
Link copied to clipboard
public
static
double
setItemTier
(
int mobTier
)