Interface IndexModifier<T extends Resource>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a function to directly mutate the resource and amount at a specific index of a
ResourceHandler.-
Method Summary
-
Method Details
-
set
Overrides the resource and amount at the given index.- Parameters:
index- The index to set the resource at.resource- The resource to set.amount- The amount of the resource to set.
-