Class ListenableResourceList

java.lang.Object
com.refinedmods.refinedstorage.api.resource.list.AbstractProxyResourceList
com.refinedmods.refinedstorage.api.resource.list.listenable.ListenableResourceList
All Implemented Interfaces:
ResourceList

@API(status=STABLE, since="2.0.0-milestone.1.2") public class ListenableResourceList extends AbstractProxyResourceList
A resource list that can have listeners to track changes. Can easily be used with an existing list by passing it in the constructor. The ResourceListListener.onChanged(OperationResult) method is only called when the change is being performed through this list, not the delegate list.