Package net.citizensnpcs.trait.shop
Class MoneyAction
java.lang.Object
net.citizensnpcs.trait.shop.NPCShopAction
net.citizensnpcs.trait.shop.MoneyAction
- All Implemented Interfaces:
- Cloneable
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.citizensnpcs.trait.shop.NPCShopActionNPCShopAction.GUI, NPCShopAction.Transaction
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondescribe()intgetMaxRepeats(Entity entity, InventoryMultiplexer inventory) grant(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) take(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) 
- 
Field Details- 
moneypublic double money
 
- 
- 
Constructor Details- 
MoneyActionpublic MoneyAction()
- 
MoneyActionpublic MoneyAction(double cost) 
 
- 
- 
Method Details- 
describe- Specified by:
- describein class- NPCShopAction
 
- 
getMaxRepeats- Specified by:
- getMaxRepeatsin class- NPCShopAction
 
- 
grantpublic NPCShopAction.Transaction grant(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) - Specified by:
- grantin class- NPCShopAction
 
- 
takepublic NPCShopAction.Transaction take(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) - Specified by:
- takein class- NPCShopAction
 
 
-