Package vazkii.botania.api.corporea
Interface CorporeaResult
- All Known Implementing Classes:
CorporeaResult.Dummy,CorporeaResultImpl
public interface CorporeaResult
Represents a completed
CorporeaRequest-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault intdefault it.unimi.dsi.fastutil.objects.Object2IntMap<CorporeaNode> default intdefault List<net.minecraft.world.item.ItemStack> stacks()
-
Method Details
-
stacks
- Returns:
- The itemstacks found. Not a fresh copy each time called. When doing a count, and not extracting, the stacks in this list may be oversized.
-
matchedCount
default int matchedCount()- Returns:
- The number of items matching the request's matcher.
-
extractedCount
default int extractedCount()- Returns:
- The number of items extracted.
-
matchCountsByNode
- Returns:
- A map of corporea nodes that contributed to this result, and how many items each contributed. Should not be modified.
-