Class ItemStackLootData
java.lang.Object
ru.cwcode.tkach.config.paper.data.item.loot.AbstractLootData
ru.cwcode.tkach.config.paper.data.item.loot.ItemStackLootData
- All Implemented Interfaces:
RepositoryEntry<String>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionItemStackLootData(String id, org.bukkit.inventory.ItemStack item) ItemStackLootData(org.bukkit.inventory.ItemStack item) ItemStackLootData(org.bukkit.inventory.ItemStack item, double chance) ItemStackLootData(org.bukkit.inventory.ItemStack item, double chance, int min, int max) -
Method Summary
Methods inherited from class ru.cwcode.tkach.config.paper.data.item.loot.AbstractLootData
getChance, getKey, getMax, getMin, isRandomize, setChance, setKey, setMax, setMin, setRandomize, testChance
-
Field Details
-
item
protected org.bukkit.inventory.ItemStack item
-
-
Constructor Details
-
ItemStackLootData
public ItemStackLootData() -
ItemStackLootData
public ItemStackLootData(org.bukkit.inventory.ItemStack item) -
ItemStackLootData
-
ItemStackLootData
public ItemStackLootData(org.bukkit.inventory.ItemStack item, double chance) -
ItemStackLootData
public ItemStackLootData(org.bukkit.inventory.ItemStack item, double chance, int min, int max)
-
-
Method Details
-
setItem
public void setItem(org.bukkit.inventory.ItemStack item) -
getItem
public org.bukkit.inventory.ItemStack getItem()- Specified by:
getItemin classAbstractLootData
-