I used the first one I found and which worked (the same as minecraft uses), change if splitToList is better.