default @NotNull ListBinaryTag getList(final @Range(from = 0, to = Integer.MAX_VALUE) int index, final @Nullable BinaryTagType<?> elementType) {
    return this.getList(index, elementType, ListBinaryTag.empty());
  }
Gets a list.

@param index the index
@param elementType the expected element type of the list at index {@code index}
@return the list, or an empty list if the tag at index {@code index} is not a list tag, or if the list tag's element type is not {@code elementType}
@since 4.4.0
nbt/src/main/java/net/kyori/adventure/nbt/ListBinaryTag.java