Skip to content

Sherko231/LockItemAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Simple API to lock items (in inventory or in slot) for Nukkit

Just register the item you want to lock in LockedItemRegistry when enabling your plugin

LockedItemRegistry.registerLockedItem(ItemID.DIAMOND, true);

to lock item in slot ( you can't move the item in inventory but you can't drop it ).

LockedItemRegistry.registerLockedItem(ItemID.DIAMOND, false);

to lock item in inventory ( you can move the item in inventory but you can't drop it )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages