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: 4 months 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T12:48:51.000Z (over 1 year ago)
- Last Synced: 2025-01-31T18:13:34.216Z (4 months ago)
- Topics: items, java, minecraft
- Language: Java
- Homepage: https://groupez.dev/resources/zitemstacker.15
- Size: 177 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
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;
}
```