Class LootTable

java.lang.Object
net.minestom.server.gamedata.loottables.LootTable

public class LootTable
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  LootTable.Entry  
    static class  LootTable.Pool  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String LUCK_KEY  
  • Constructor Summary

    Constructors 
    Constructor Description
    LootTable​(LootTableType type, java.util.List<LootTable.Pool> pools)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<ItemStack> generate​(Data arguments)  
    java.util.List<LootTable.Pool> getPools()  
    LootTableType getType()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait