getList

public NBTList getList(String name)

Return

The NBT list associated with the name. If a tag with that name does not exist (or is not a list), then null is returned.

See also

get(Object)

Parameters

name

The name of the list whose value should be returned. Dot-notation is supported for accessing nested tags.