Manage Lists and Data with GSTools Utility Tools
List Management Features
GSTools provides utility tools that simplify working with lists in function scripts and command sequences. These tools handle sorting, filtering, and iteration tasks that would otherwise require extensive manual setup.
Using List Utilities
1. Create a list structure — Initialize a list using GSTools list management functions in your data pack or script.
2. Add or remove items — Use the provided utility commands to insert or delete entries from your list.
3. Sort or filter data — Apply GSTools sorting and filtering functions to organize list contents by criteria you define.
4. Iterate through entries — Loop through list items using GSTools iteration tools to perform actions on each element.
These utilities are particularly valuable in custom maps where you need to track multiple entities, manage inventories programmatically, or maintain dynamic arrays of data. They reduce the complexity of list-based logic in command chains.