Package net.citizensnpcs.trait.shop
Class PermissionAction
java.lang.Object
net.citizensnpcs.trait.shop.NPCShopAction
net.citizensnpcs.trait.shop.PermissionAction
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class net.citizensnpcs.trait.shop.NPCShopAction
NPCShopAction.GUI, NPCShopAction.Transaction -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
permissions
-
-
Constructor Details
-
PermissionAction
public PermissionAction() -
PermissionAction
-
-
Method Details
-
describe
- Specified by:
describein classNPCShopAction
-
getMaxRepeats
- Specified by:
getMaxRepeatsin classNPCShopAction
-
grant
public NPCShopAction.Transaction grant(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) - Specified by:
grantin classNPCShopAction
-
take
public NPCShopAction.Transaction take(ShopTrait.NPCShopStorage storage, Entity entity, InventoryMultiplexer inventory, int repeats) - Specified by:
takein classNPCShopAction
-