Package net.citizensnpcs.trait.shop
Class ExperienceAction
java.lang.Object
net.citizensnpcs.trait.shop.NPCShopAction
net.citizensnpcs.trait.shop.ExperienceAction
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class net.citizensnpcs.trait.shop.NPCShopAction
NPCShopAction.GUI, NPCShopAction.Transaction
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondescribe()
int
getMaxRepeats
(Entity entity, InventoryMultiplexer inventory) grant
(Entity entity, InventoryMultiplexer inventory, int repeats) take
(Entity entity, InventoryMultiplexer inventory, int repeats)
-
Field Details
-
exp
public int exp
-
-
Constructor Details
-
ExperienceAction
public ExperienceAction() -
ExperienceAction
public ExperienceAction(int cost)
-
-
Method Details
-
describe
- Specified by:
describe
in classNPCShopAction
-
getMaxRepeats
- Specified by:
getMaxRepeats
in classNPCShopAction
-
grant
- Specified by:
grant
in classNPCShopAction
-
take
- Specified by:
take
in classNPCShopAction
-