Does the same as GuiList, but is mutatable. If you change the content if this list using the mutate function, the gui will update accordingly.
Invokes all listeners, causing all open guis using this list to update.
Provides access to the internal collection in an immutable form. Please do only use the collection inside the block lambda, as only there thread-safety can be guaranteed.
Inside the given block, you can mutate this list. All guis currently using this list will be informed after that mutation, to update properly.
Registers an onChangeListener, which will be called if the content of this list is mutated.
Unregisters an already registered onChangeListener.