Package net.citizensnpcs.trait.shop
Class NPCShopAction
java.lang.Object
net.citizensnpcs.trait.shop.NPCShopAction
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- CommandAction,- ExperienceAction,- ItemAction,- MoneyAction,- OpenShopAction,- PermissionAction
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()abstract Stringdescribe()static Iterable<NPCShopAction.GUI> getGUIs()abstract intgetMaxRepeats(Entity entity, InventoryMultiplexer inventory) abstract NPCShopAction.Transactiongrant(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) static voidregister(Class<? extends NPCShopAction> clazz, String type, NPCShopAction.GUI gui) abstract NPCShopAction.Transactiontake(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) 
- 
Constructor Details- 
NPCShopActionpublic NPCShopAction()
 
- 
- 
Method Details- 
clone
- 
describe
- 
getMaxRepeats
- 
grantpublic abstract NPCShopAction.Transaction grant(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) 
- 
grant
- 
takepublic abstract NPCShopAction.Transaction take(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) 
- 
take
- 
getGUIs
- 
registerpublic static void register(Class<? extends NPCShopAction> clazz, String type, NPCShopAction.GUI gui) 
 
-