API
Last updated
Last updated
Can be found .
Include the API using Gradle:
Replace version
with the version that you want to use.
Include the API using Maven:
Replace version
with the version that you want to use.
If you want to prevent a specific item being picked up by the hoppers, just add the "NO_PICKUP" metadata to the item entity.
Enable the following option in config.yml
and listen to the HopperItemPickupEvent.
This should be the last resort. If you only want to prevent a specific item from being picked up, use the solution above
instead.
The API is accessible through an implementation of the interface. UpgradeableHoppers needs to be loaded before this API can be used. It doesn't need to be enabled though.