LootTables

public class LootTables implements Listener

Created by MagmaGuy on 04/06/2017.

Constructors

Link copied to clipboard
public void LootTables()

Functions

Link copied to clipboard
public static void deliverGeneratedItem(Player player, Location location, ItemStack itemStack)
Link copied to clipboard
public static ItemStack dropWeighedFixedItem(EliteEntity eliteEntity, Player player)
public static ItemStack dropWeighedFixedItem(Location location, Player player)
Link copied to clipboard
public static ItemStack generateItemStack(int itemTier, Player player, EliteEntity eliteEntity)
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.
Link copied to clipboard
public static void generatePlayerLoot(EliteEntity eliteEntity)
Link copied to clipboard
public static void generateSpecialLoot(Player player, int level, EliteEntity eliteEntity)
Link copied to clipboard
public static void initialize()
Link copied to clipboard
public void onDeath(EliteMobDeathEvent event)
Link copied to clipboard
public static double setItemTier(int mobTier)