Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxlego08/zitemstacker
Allows you to stack your items to reduce the number of items on the floor
https://github.com/maxlego08/zitemstacker
items java minecraft
Last synced: about 1 month ago
JSON representation
Allows you to stack your items to reduce the number of items on the floor
- Host: GitHub
- URL: https://github.com/maxlego08/zitemstacker
- Owner: Maxlego08
- License: gpl-3.0
- Created: 2020-11-04T20:34:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T12:48:51.000Z (11 months ago)
- Last Synced: 2023-12-15T13:50:59.801Z (11 months ago)
- Topics: items, java, minecraft
- Language: Java
- Homepage: https://groupez.dev/resources/zitemstacker.15
- Size: 177 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zItemStacker
Allows you to stack your items
## API
Java docs: https://javadocs.groupez.xyz/zitemstacker/
Get ItemManager:
```javaItemManager itemManager = getProvider(ItemManager.class);
public T getProvider(Class classz) {
RegisteredServiceProvider provider = getServer().getServicesManager().getRegistration(classz);
if (provider == null) {
log.log("Unable to retrieve the provider " + classz.toString(), LogType.WARNING);
return null;
}
return provider.getProvider() != null ? (T) provider.getProvider() : null;
}
```