How can I use ConfigurationNode to getList(TypeToken<V>) in Sponge 8.0

How can i get list in node ?

in sponge 7.0 I can get list by this code

getNode(path).getList(TypeToken.of(String.class))

but In sponge 8.0 I don’t know how can I get list.

How can I get list in node sponge 8.0 ?

Please help me.

Should still be able to do that. You can also do

getList(String.class)

https://jd.spongepowered.org/configurate/core/4.2.0-SNAPSHOT/src-html/org/spongepowered/configurate/ConfigurationNode.html#line.754

1 Like

Thank for you care! It’s working well!