Class GroupEntry
java.lang.Object
net.minestom.server.gamedata.loottables.LootTable.Entry
net.minestom.server.gamedata.loottables.entries.GroupEntry
- All Implemented Interfaces:
WeightedRandomItem
public class GroupEntry extends LootTable.Entry
-
Constructor Summary
Constructors Constructor Description GroupEntry(GroupType type, java.util.List<LootTable.Entry> children, int weight, int quality, java.util.List<Condition> conditions)
-
Method Summary
Methods inherited from class net.minestom.server.gamedata.loottables.LootTable.Entry
generateStacks, getConditions, getQuality, getType, getWeight
-
Constructor Details
-
GroupEntry
public GroupEntry(GroupType type, java.util.List<LootTable.Entry> children, int weight, int quality, java.util.List<Condition> conditions)
-
-
Method Details
-
generate
- Specified by:
generate
in classLootTable.Entry
-